Home โบ Developer Tools โบ Color Contrast Checker
๐จ Color Contrast Checker
Check text/background color contrast against WCAG AA and AAA accessibility standards.
About this Color Contrast Checker
If text is too close in brightness to its background, many readers โ especially people with low vision or ageing eyes โ simply cannot read it. The WCAG accessibility guidelines set minimum contrast ratios for exactly this reason. This checker computes the ratio between any two colors using the official relative-luminance formula and grades it against the AA and AAA thresholds for normal and large text.
How to use it
- Pick the text color with the first color well.
- Pick the background color with the second.
- Read the contrast ratio and the four pass/fail grades.
- Adjust either color until your target level passes โ AA is the common legal standard.
Example
Black text (#000000) on white (#ffffff) scores the maximum 21:1 and passes everything, while light grey #999999 on white scores about 2.8:1 and fails all levels.
Frequently asked questions
What counts as large text?
In WCAG terms, at least 18pt (24px), or 14pt (about 19px) if bold. Large text is allowed a lower contrast ratio.
Which level should my website meet?
AA is the level most laws and guidelines require. AAA is stricter and a good goal for body text, but is not always achievable with brand colors.
More Developer Tools
Password Generator
Create strong random passwords in your browser with a live entropy strength meter.
QR Code Generator
Turn any text or link into a QR code you can save โ generated right in your browser.
Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 back, with safe UTF-8 handling for any language.
JSON Formatter
Format, minify and validate JSON, with clear error positions and quick structure stats.
URL Encoder & Decoder
Encode or decode URLs and query text safely, with component or full-URL modes.
JSON to CSV Converter
Convert a JSON array of objects to CSV, or turn CSV back into clean JSON.