Guarantee Readable Typography in Light and Dark Themes
Low-contrast gray text on white or dark-gray backgrounds hurts real-world mobile readability, fails Google Lighthouse Accessibility audits, and exposes commercial websites to ADA/EAA accessibility compliance risks.
- Exact W3C WCAG 2.1/2.2 relative luminance formula ((L1 + 0.05) / (L2 + 0.05))
- Simultaneous PASS/FAIL evaluation for AA Normal (4.5:1), AA Large (3.0:1), and AAA (7.0:1)
- Live interactive preview showing 24px bold headings, 16px body copy, and button outlines
- Dual color pickers plus direct HEX code entry for rapid design-system tuning
- 100% browser-local with zero external dependencies
Frequently Asked Questions
What qualifies as 'Large Text' under WCAG 2.1/2.2?
WCAG defines large text as 18pt (24px) regular weight or 14pt (18.66px) bold weight and larger—requiring at least a 3.0:1 ratio for AA compliance.
What contrast ratio does non-text UI (icons, input borders, focus rings) require?
WCAG 2.1 Success Criterion 1.4.11 requires at least a 3.0:1 contrast ratio for essential graphical objects and active UI boundaries against adjacent colors.
Does higher contrast also help mobile outdoor readability?
Yes—hitting 7:1+ for primary body copy keeps calculators and pricing tables effortlessly readable in bright sunlight and on lower-brightness screens.