Criteria & Method
Twelve colour pairs, measured: what the 4.5:1 contrast rule does to common choices
Contrast ratios for twelve familiar text and background colour pairs, computed with the WCAG formula, with the pass or fail result for normal and large text.
Method
WCAG 2.2 defines the contrast ratio as (L1 + 0.05) / (L2 + 0.05), where L1 is the relative luminance of the lighter colour and L2 that of the darker. Relative luminance is 0.2126 R + 0.7152 G + 0.0722 B, after each 8-bit channel is converted: divide by 255, then if the result is at most 0.04045 divide by 12.92, otherwise compute ((c + 0.055) / 1.055)^2.4. Success Criterion 1.4.3 asks for a ratio of at least 4.5:1 for normal text and 3:1 for large-scale text. The W3C page adds that computed ratios should not be rounded when compared with the thresholds: a ratio of 4.499:1 does not meet 4.5:1.
The twelve pairs were chosen to cover grey text, a coloured button and a red and green pair. We computed each ratio with a short script and rechecked it on 2 November 2026.
Results
| Text or object | Background | Ratio | Normal text, 4.5:1 | Large text, 3:1 | Note |
|---|---|---|---|---|---|
| #767676 | #FFFFFF | 4.54:1 | Pass | Pass | Lightest neutral grey that still passes on white |
| #777777 | #FFFFFF | 4.48:1 | Fail | Pass | One step lighter than the row above |
| #999999 | #FFFFFF | 2.85:1 | Fail | Fail | Light grey often used for secondary text |
| #AAAAAA | #FFFFFF | 2.32:1 | Fail | Fail | Very light grey |
| #808080 | #F5F5F0 | 3.61:1 | Fail | Pass | Grey on a cream background |
| #666666 | #F5F5F0 | 5.25:1 | Pass | Pass | Darker grey on the same cream |
| #FFFFFF | #FF6600 | 2.94:1 | Fail | Fail | White text on an orange button |
| #000000 | #FF6600 | 7.15:1 | Pass | Pass | Black text on the same orange |
| #FFFFFF | #1A73E8 | 4.51:1 | Pass | Pass | White text on blue; barely passes |
| #FF0000 | #00FF00 | 2.91:1 | Fail | Fail | Pure red on pure green |
| #E0E0E0 | #FFFFFF | 1.32:1 | Fail | Fail | Light grid line on white |
| #595959 | #FFFFFF | 7.00:1 | Pass | Pass | Dark grey |
Two borderline results are worth stating with more digits. #777777 on white is 4.4781:1, which fails because it is below 4.5 and is not rounded up. #FFFFFF on #1A73E8 is 4.5050:1, which passes by a small margin.
What the table shows
- Grey text is a cliff, not a slope. #767676 on white is 4.54:1 and passes; #777777, one step lighter, fails. Pale greys such as #999999 and #AAAAAA fail even for large text.
- White on orange is a trap. White on #FF6600 is 2.94:1 and fails both thresholds; black on the same orange is 7.15:1.
- Pure red on pure green fails at 2.91:1. Contrast is only one problem with that pair: red and green can also be hard to tell apart for some players, and the contrast ratio does not measure that. A game should not rely on hue alone.
- Passing is cheap. Darkening #777777 to #595959 moves the ratio from 4.48:1 to 7.00:1.
How to use this in a judging record
Write the finding as a measurement: “body text on the help screen measured 3.61:1 (#808080 on #F5F5F0); AA requires 4.5:1 for normal text.” A reader can check it with any contrast tool, and a studio can fix it in minutes. Contrast is only one part of accessibility; this article makes no claim about the rest, and contrast of text in screenshots of the game is not the same as contrast in the final build.
Sources
- W3C, Understanding Success Criterion 1.4.3: Contrast (Minimum) — accessed 2026-11-02
- W3C, Web Content Accessibility Guidelines 2.2 (definition of relative luminance and contrast ratio) — accessed 2026-11-02
Written for: A small studio or a judging desk wants to know, without installing anything, which familiar text and background colours pass WCAG's minimum contrast.
AI assistance recorded as: AI draft, not edited. Review status: approved.