#ffffff ยท rgb(255, 255, 255)
#1a1a2e ยท rgb(26, 26, 46)
The quick brown fox
jumps over the lazy dog. 0123456789
Small text sample โ 14px equivalent
Button example
Contrast Ratio
17.06:1
โฆ AAA
Excellent โ meets all standards
Normal text โ AAโฅ 4.5:1 ยท body copy, labels, UI text
โ PassNormal text โ AAAโฅ 7:1 ยท enhanced accessibility
โ PassLarge text โ AAโฅ 3:1 ยท 18px+ bold or 24px+ regular
โ PassLarge text โ AAAโฅ 4.5:1 ยท enhanced large text
โ PassCommon Pairs
๐ก WCAG Quick Reference
- โข AA (4.5:1): minimum for normal text โ required by most accessibility laws
- โข AAA (7:1): enhanced standard โ recommended for critical content
- โข Large text: 18px+ regular or 14px+ bold โ lower threshold (3:1 for AA)
- โข UI components: focus indicators, icons โ only need 3:1 regardless of size
- โข Decorative elements: logos, disabled controls โ exempt from contrast requirements