The maximum: black on white
- Input
- Text = #000000, Background = #ffffff
- Working
- Black's luminance is 0 and white's is 1, so the ratio is (1 + 0.05) ÷ (0 + 0.05) = 21 — the ceiling of the scale, and the only pair that reaches it. Every grade passes.
- Result
- 21.00 : 1 — AA normal ✓, AA large ✓, AAA normal ✓, AAA large ✓