Color Contrast Checker
Use this local WCAG color contrast checker to compare a text color and background. Preview the pair and check AA and AAA for normal and large text.
Color Pair
Choose the color beneath the pair. The background is layered over it first.
Contrast Result
Check the current colors to see their ratio and preview.
Sample text
Normal Text
AA
AAA
Large Text
AA
AAA
WCAG 2.2 · Pass or fail uses the unrounded ratio.
Calculation Details
- Computed ratio
- Effective text
- Effective background
- Text luminance
- Background luminance