Color Tool - Contrast Checker
v1.0.0 • UPDATED DEC 1, 2026
- Runs locally
- WCAG contrast
- Zero dependencies
Check if two colors meet WCAG contrast for text and UI. Type any CSS color or pick one; it all runs in your browser.
Text on background5.23:1
Large text sample
Normal text sample: the quick brown fox jumps over the lazy dog.
AA · Normal text
✓ Pass (4.5:1)
AA · Large text
✓ Pass (3:1)
AAA · Normal text
✗ Fail (7:1)
AAA · Large text
✓ Pass (4.5:1)
About contrast
How different two colors look in brightness, from 1:1 to 21:1, per WCAG 2.
- AA: 4.5:1 for text; 3:1 for large text (24px, or 18.66px bold) and UI like icons and borders.
- AAA: 7:1 for text, 4.5:1 for large text.
Tips
- Failing? Change the OKLCH lightness and keep the hue; the Converter gives you OKLCH.
- Check light and dark themes separately.
- Thin fonts need more than the minimum.
- Don't rely on color alone; add an icon or a word.