WCAG 2.1 Color Contrast Checker: Passing AA (4.5:1) & AAA (7:1) Accessibility
By Rohit Kumar · Updated 2026-11-28 · 4 min read
Pale gray body text on white cards and bright yellow buttons with white labels might look trendy in a dimmed studio—but they fail WCAG 2.1 accessibility audits, hurt outdoor mobile legibility, and penalize Lighthouse accessibility scores. Checking relative luminance contrast ratios takes three seconds and fixes readability for every visitor.
Free Browser Tools Used in This Guide
- WCAG Contrast Checker — Verify WCAG 2.1 AA and AAA accessibility contrast ratios for normal and large text.
- Color Format Converter (HEX / RGB / HSL / CMYK) — Convert colors across HEX, RGB, HSL, and CMYK and explore complementary harmonies.
- Color Blindness Simulator — Preview how any custom color swatches appear under Protanopia, Deuteranopia & Tritanopia.
WCAG 2.1 Contrast Thresholds Every Designer & Developer Must Know
WCAG 2.1 measures contrast ratio from `1:1` (invisible identical colors) to `21:1` (pure black on pure white) using standardized sRGB relative luminance.
| Compliance Level | Normal Text (<18pt) | Large Text (≥18pt or 14pt bold) |
|---|---|---|
| WCAG AA (Industry Standard) | ≥ 4.5 : 1 | ≥ 3.0 : 1 |
| WCAG AAA (Enhanced Accessibility) | ≥ 7.0 : 1 | ≥ 4.5 : 1 |
| UI Borders & Focus Icons | ≥ 3.0 : 1 (non-text) | ≥ 3.0 : 1 |
Auditing Brand Colors & Color Blindness Together
Open Tooltable’s WCAG Contrast Checker and enter your foreground ink and surface background HEX codes.
- Verify all four compliance pills (AA Normal, AA Large, AAA Normal, AAA Large) update live.
- Need to adjust lightness slightly while keeping the exact brand hue? Open Tooltable’s Color Converter to nudge the HSL Lightness (`L%`) value cleanly.
- Test charts and status badges in Tooltable’s Color Blindness Simulator (Protanopia, Deuteranopia, Tritanopia) so red/green states never rely on color alone.
Pro Tip: Dark mode isn’t automatically accessible: bright saturated blue links (`#2563EB`) that pass AA on white (`5.17:1`) often FAIL on dark slate (`#0F172A`)—switch dark-mode links to a lighter sky tint like `#60A5FA` (`7.8:1`).
Faster Lighthouse & Better UX on Sunlight Mobile Screens
High contrast isn’t just for legal ADA or EAA accessibility compliance—it makes navigation bars, pricing cards, buttons, and checkout forms noticeably easier to read on smartphones in bright outdoor sunlight, directly reducing bounce rates and lifting conversions. Testing every foreground-background token pair locally before deploying CSS keeps both your Lighthouse accessibility score and real-world readability at peak quality.
Frequently Asked Questions
What qualifies as "Large Text" under WCAG 2.1?
Text that is at least 18pt (~24px) regular weight, or at least 14pt (~18.67px) bold weight.
What contrast ratio does Google Lighthouse require to pass?
Lighthouse checks WCAG 2.1 AA: at least 4.5:1 for normal body text and 3.0:1 for large headings.
How do I fix a brand button color that scores 3.8:1 with white text?
Either darken the button background by 8–12% in HSL lightness until white text hits 4.5:1, or switch the button label to dark charcoal (`#0F172A`).