Skip to article
Legibly

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

UseContrast threshold
Normal text, AA4.5:1
Large text, AA3:1
Normal text, AAA7:1
Large text, AAA4.5:1
Certain essential non-text information, AA3: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

Normal text, AA threshold 4.5:1; decisions before rounding
TextBackgroundContrastAA normal text
#777777#ffffff4.4781:1Below threshold
#767676#ffffff4.5422:1Meets threshold
#000000#ffffff21:1Meets 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.

Sources: W3C: Understanding Non-text Contrast, SC 1.4.11

A passing contrast result is a check of a colour pair under stated assumptions, not accessibility certification.

Sources: W3C: Understanding Use of Color, SC 1.4.1

Sources and method

Source content checked . This is not a claim of external expert review.

  1. W3C: Understanding Contrast (Minimum), WCAG 2.2 SC 1.4.3
  2. W3C: Understanding Contrast (Enhanced), SC 1.4.6
  3. W3C: Understanding Non-text Contrast, SC 1.4.11
  4. W3C: Understanding Use of Color, SC 1.4.1