WCAG Color Contrast Checker (2026)
Pick two colors and instantly see their contrast ratio and whether they pass WCAG 2.1 AA / AAA for normal text, large text and UI components.
The quick brown fox jumps over the lazy dog.
Large preview of your color pair at real size.
Small body text sample at 14px for realistic reading.
How to use the contrast checker
- Choose the text color and background color with the pickers or by typing a hex value.
- The live preview shows your exact combination at real text sizes.
- Check the badges: AA is the standard legal requirement, AAA is stricter.
- Adjust either color until all the badges you need turn green.
Frequently Asked Questions
What is the minimum contrast ratio for WCAG AA?
Normal text requires a contrast ratio of at least 4.5:1. Large text (18pt / 24px regular or 14pt / 18.5px bold and above) requires at least 3:1.
What is the difference between AA and AAA?
AAA is the stricter level: 7:1 for normal text and 4.5:1 for large text. AA is the widely accepted legal standard (required by Section 508 and EN 301 549).
How is contrast ratio calculated?
The relative luminance of each color is computed from its sRGB values using the WCAG 2.1 formula, then the lighter luminance plus 0.05 is divided by the darker luminance plus 0.05.
Does this tool upload my colors anywhere?
No. The calculation happens entirely in your browser with JavaScript. Nothing is sent to any server.