New Tool Radar

AI Design Workflows

How to Check Body Text Against the 7 to 1 Enhanced Contrast Bar

Check body text against the 7 to 1 enhanced contrast ratio, because the WCAG AAA bar is stricter than the 4.5 to 1 AA minimum.

Schematic with three steps: list the body text colours, measure each ratio, keep only pairs at 7 to 1 or better.

The AA minimum of 4.5 to 1 is a floor, not a comfort target. Readers with low vision benefit from stronger contrast, and WCAG offers a AAA enhanced bar of 7 to 1 for normal text. This check measures body text against that stricter bar and shows which pairs survive it.

Why this needs its own check

WebAIM’s contrast guide states that WCAG 1.4.6 Contrast (Enhanced), Level AAA, requires a 7 to 1 contrast ratio for normal text and 4.5 to 1 for large text. It is the only difference between the enhanced criterion and the AA minimum in 1.4.3.

What you need before you start

  • The page or document with its body text
  • A contrast checker such as the WebAIM Contrast Checker
  • The exact foreground and background colours of each text style

Step 1 – List every body text colour pair

Write down each combination of text colour and background used for body text: main text, captions, footnotes, table text. Include text on tinted panels, not just on white.

Step 2 – Measure each ratio

Measure each pair. The bar here is 7 to 1 for normal text, not 4.5 to 1. Record each ratio to one decimal place and mark pass or fail against 7 to 1.

Step 3 – Keep only the pairs that pass

Where a pair fails the enhanced bar, darken the text or lighten the background until it clears 7 to 1. A pair that passes AA at 4.5 to 1 but fails AAA is fine when the target is AA, so record the target level in your notes.

Worked example

Practice check: a fictional Harbour Light Bakery website text styles

The example below is fictional. Harbour Light Bakery is an invented business used only as a practice case. No real customer, page, or product is shown. Treat it as a practice case, not as evidence about any real business.

Part What it should be As shown Result
Main body text 7 to 1 or better #2B2B2B on white, 14.2 to 1 Pass
Caption text 7 to 1 or better #767676 on white, 4.5 to 1 Fail – 4.5 to 1
Footnote text 7 to 1 or better #595959 on white, 7.0 to 1 Pass
Table text 7 to 1 or better #616161 on white, 6.2 to 1 Fail – 6.2 to 1

Only 2 of the 4 checks pass: the main body text and the footnote text. The two failures are the caption text at 4.5 to 1 and the table text at 6.2 to 1, both below the 7 to 1 enhanced bar.

What to do when something is wrong

Darken the caption text to #595959 and the table text to #4A4A4A, then re-measure both against 7 to 1. Keep the AA passes on record so the team knows the page already meets AA.

Expected result. We checked the WebAIM contrast guide listed in Sources. We did not measure a live Harbour Light Bakery site. UNTESTED: no contrast checker was run on a real site; the ratios shown are computed with the WCAG relative luminance formula for the practice colours: #2B2B2B on white is 14.2 to 1, #767676 on white is 4.5 to 1, #595959 on white is 7.0 to 1, and #616161 on white is 6.2 to 1.

Limits

  • This check covers the AAA enhanced bar only. A page can pass AA at 4.5 to 1 and still fail here, which is acceptable when the target is AA.

Sources

See all