WCAG 2.2 Contrast Checker & DESIGN.md Token Exporter

Calculate exact WCAG 2.2 luminance contrast ratios for AA text (4.5:1), UI borders (3:1), and AAA (7:1) and export ready-to-paste DESIGN.md YAML color tokens.

WCAG 2.2 (IEC 61966-2-1 sRGB Luminance)
Quick contrast test pairs
WCAG 2.2 luminance ratio
15.13:1
AA Normal (4.5:1)
PASS
AA Large (3.0:1)
PASS
UI Border 1.4.11
PASS
AAA Normal (7.0:1)
PASS
Sample body text & WCAG 1.4.11 UI control border preview

WCAG 2.2 Luminance Contrast Rules for Text and Form Borders

WCAG 2.2 Level AA requires at least 4.5:1 contrast for normal body text, 3.0:1 for large display text (18pt / 24px or bold 14pt / 18.66px), and 3.0:1 for non-text interactive UI boundaries such as text input outlines, radio borders, and focus indicators (WCAG 1.4.11).

Many subtle light-gray form borders look clean on bright studio monitors yet fail at 1.4:1 contrast for low-vision users or outdoor mobile screens. Check every text and control-border pair here and paste the verified hex pair straight into your project's DESIGN.md.

Verify both light-mode and dark-mode token pairs independently whenever supporting light-dark() color schemes.

Frequently asked questions

What contrast ratio do form input borders need?

Under WCAG 1.4.11 Non-text Contrast, interactive input borders and UI control boundaries require at least a 3.0:1 contrast ratio against adjacent surfaces.

More ParseGauge calculators

Contrast ratio 15.13:1