Color Accessibility: The Complete WCAG Guide for Designers

Guide · Updated 2026-07-28 · Yexla Team

Around 1 in 12 men and 1 in 200 women have a color-vision deficiency; hundreds of millions more have low vision, aging eyes, cheap panels or bright sunlight. Color accessibility isn't an edge case — it's designing for how vision actually varies. And it's law in much of the world (ADA, EAA, Section 508).

WCAG contrast requirements

ContentAAAAA
Normal text (<18pt)4.5:17:1
Large text (≥18pt / 14pt bold)3:14.5:1
UI components & graphics3:1

Ratios come from relative luminance — check any pair instantly with our contrast checker, which also suggests passing alternatives.

Never rely on color alone

WCAG 1.4.1 requires a second cue wherever color carries meaning: icons with status dots, underlines on links, labels on chart series, patterns in maps. This single principle covers the majority of color-blindness failures — test yours with the color-blind simulator.

Building accessible palettes by construction

Design in OKLCH and reserve L bands: text colors at L ≤ 0.45 on light backgrounds, backgrounds at L ≥ 0.93, and your scale automatically passes most checks. Choose categorical data colors that differ in lightness, not just hue. And test dark mode separately — inverted palettes often fail where light mode passed.

Frequently asked questions

What contrast ratio does WCAG AA require?

4.5:1 for normal text, 3:1 for large text (18pt+, or 14pt bold) and for UI components/graphical objects.

What is the most common form of color blindness?

Red-green deficiencies (protanomaly/deuteranomaly and their -opia forms), affecting roughly 8% of men. Blue-yellow and total color blindness are much rarer.

Can I use color to show errors?

Yes, but never alone — pair red with an icon and message text. Users who can't distinguish the red must still perceive the error.

Does AAA apply to everything?

AAA is aspirational for most products; AA is the standard legal/contractual target. Meet AAA where reading is prolonged (documentation, articles).