New Tool Radar

AI Design Workflows

How to Check Contrast for Large Text and Icons in an AI Design

Check contrast for large text and icons in an AI design, using the lower 3:1 bar where WCAG allows it and the 4.5:1 bar everywhere else.

Schematic diagram: three contrast checks — body text at 4.5 to 1, large headings at 3 to 1, and icons at 3 to 1 — with a pale grey icon failing.

Large text gets a lower contrast bar because its thicker strokes stay readable at lower contrast — but only text that is genuinely large qualifies. A 16px bold label is not large text, and a thin icon is not text at all. The common mistake is applying the 3:1 allowance to everything that looks big, then shipping body copy and icons that many readers cannot see.

The 3:1 allowance has a boundary

WCAG 1.4.3 Contrast (Minimum), Level AA, requires text and images of text to reach at least 4.5:1 against their background, except large-scale text, which needs at least 3:1. Large means at least 18 point, or 14 point bold — about 24px, or about 18.5px bold. The W3C adds that computed values must not be rounded, so 4.499:1 does not meet 4.5:1, and that text in a logo has no contrast requirement. Icons and the parts of controls people need to see fall under 1.4.11 Non-text Contrast at 3:1 against adjacent colours. See also our colour contrast check.

Expected result. We checked the sources listed below. We did not run any design tool or browser on the Maple Corner design.

The table below is fictional practice material: six items in a Maple Corner design. Results are practice values for the exercise.

Practice contrast check: fictional Maple Corner menu page

Element Contrast check Result
Body text, 16px Dark brown on cream, 7.2:1 Pass — above 4.5:1
Page heading, 28px Mid-brown on cream, 3.4:1 Pass — large text needs 3:1
Small label, 14px bold Pale grey on white, 3.1:1 Fail — not large text, needs 4.5:1
Basket icon Light grey on white, 2.1:1 Fail — icons need 3:1 against adjacent colours
Price, 20px bold Dark brown on cream, 5.8:1 Pass — above 4.5:1 anyway
Logo wordmark Pale gold on white, 1.9:1 Pass — logotypes are exempt, but check legibility anyway

4 of the six items pass, and 2 fail. The passing items share one property: they were checked against the rule before the design was finished, not after. The failing items are the ones to fix first — each has its fix named in the table.

How to fix it

Measure, do not eyeball: run each colour pair through a contrast calculator and record the ratio next to the size and weight. Darken the failing colour until it clears its own bar — 4.5:1 for normal text, 3:1 for genuinely large text and for icons — and re-check the pair against every background it sits on, not just white.

Limits

  • No design tool or browser was run on the Maple Corner design, and Maple Corner is fictional. The ratios in the table are practice values for the exercise, not measured results.
  • Logotypes are exempt from the contrast requirement, but an unreadable logo is still a design failure, not a pass worth celebrating.
  • This guide checks large text and icons. Charts and diagrams have their own non-text contrast rules under 1.4.11.

Sources

See all