Guide
WCAG contrast requirements explained
Choose the right requirement for normal text, large text and relevant non-text information.
Published
WCAG 2.2 Level AA normally requires text contrast of at least 4.5:1, or 3:1 for large text. Exceptions include logos and text in inactive controls. A colour-pair result is not, by itself, a verdict about an entire interface.
Sources: W3C: Understanding Contrast (Minimum), WCAG 2.2 SC 1.4.3
Choose the applicable requirement
| Use | Contrast threshold |
|---|---|
| Normal text, AA | 4.5:1 |
| Large text, AA | 3:1 |
| Normal text, AAA | 7:1 |
| Large text, AAA | 4.5:1 |
| Certain essential non-text information, AA | 3:1 against adjacent colours |
Large text is at least 18pt, or 14pt bold, under the criterion’s definition. It does not simply mean a heading that looks large. AAA enhanced text contrast is a separate criterion from the AA minimum.
Sources: W3C: Understanding Contrast (Minimum), WCAG 2.2 SC 1.4.3 · W3C: Understanding Contrast (Enhanced), SC 1.4.6
Do not round a failure into a pass
Three verified colour pairs
| Text | Background | Contrast | AA normal text |
|---|---|---|---|
| #777777 | #ffffff | 4.4781:1 | Below threshold |
| #767676 | #ffffff | 4.5422:1 | Meets threshold |
| #000000 | #ffffff | 21:1 | Meets threshold |
Threshold checks use the unrounded ratio. For example, #777777 on white is below 4.5:1 even if coarse rounding hides the difference.
Legibly checks the unrounded ratio against the selected threshold. Rounding the displayed number does not change whether the underlying pair meets it.
Sources: W3C: Understanding Contrast (Minimum), WCAG 2.2 SC 1.4.3
Interfaces need more than text checks
SC 1.4.11 concerns required visual information identifying active controls and states, plus essential parts of graphics, with specific exceptions. It does not mean every decorative border must meet 3:1. Identify the information a person actually needs to see.
- Check the real state, including errors and keyboard focus.
- Specify an opaque canvas when using transparent colours.
- Use words, shape or another cue alongside colour to convey meaning.
A passing contrast result is a check of a colour pair under stated assumptions, not accessibility certification.
Sources and method
Source content checked . This is not a claim of external expert review.