Color Contrast Checker
Check text and background colors against WCAG 2.2 AA and AAA for normal text, large text and UI parts, with a live preview and passing color tips.
- No uploads
- No limits
- No signup
Type HEX, rgb(), hsl() or a color name like navy. Translucent text is blended over the background.
Normal text: the quick brown fox jumps over the lazy dog.
Large text sample
Button outlineContrast ratio: 4.47:1
- Normal text AA (4.5:1)Fail
- Normal text AAA (7:1)Fail
- Large text AA (3:1)Pass
- Large text AAA (4.5:1)Fail
- UI components and graphics (3:1)Pass
Suggested colors
- Normal text AA (4.5:1)
#767676 - Normal text AAA (7:1)
#595959
- Input:
- HEX
- Output:
- Contrast ratio
- Runs on:
- Your device
- Size limit:
- None
- Account:
- Not needed
How to use Color Contrast Checker
Enter your two colors
Type or pick the text color and the background color. HEX, rgb(), hsl() and color names all work.
Read the WCAG results
See the contrast ratio and whether it passes AA and AAA for normal text, large text and UI components, with a live preview.
Fix a failing pair
Use a suggested color: the same hue, only lighter or darker, just enough to pass. Then copy the CSS.
Why Color Contrast Checker on Toolshed
No uploads
Everything runs in this browser tab. Your files never leave your device.
No limits
No file-size caps, no daily quotas. Process as much as your device can handle.
No signup
No account, no email, no watermark.
Frequently asked questions
What ratios does WCAG 2.2 require?
Level AA needs 4.5:1 for normal text and 3:1 for large text, icons and the edges of form controls. Level AAA needs 7:1 for normal text and 4.5:1 for large text. A ratio of 4.49 is not rounded up: it fails AA.
What counts as large text?
Text of at least 18 point (24 CSS pixels), or at least 14 point (about 18.7 CSS pixels) in bold.
How is the suggested color chosen?
The checker keeps the hue and saturation of your text color and changes only its lightness, by the smallest step that reaches the target ratio, so your brand color stays recognizable.
Is my data sent anywhere?
No. Color Contrast Checker runs entirely in your browser. Everything you enter stays on your device and is never sent to a server.
Is Color Contrast Checker really free?
Yes. There's no account and no sign-up, and your result shows right away. Ads on the page keep it free.
Does it work offline?
Once the page has loaded, processing happens locally, so it keeps working even if your connection drops.