Free Color Contrast Checker (WCAG)
Pick a text and background color and get the WCAG contrast ratio · with pass/fail for AA and AAA at normal and large text sizes.
100% client-side · nothing you enter is ever sent to a server or stored.
Preview · sign in with a free account to run it
Alpha colors are composited over the background; a transparent background is composited over white.
Normal text · 16px. The quick brown fox jumps over the lazy dog and reads the fine print.
Large text · 24px regular
Or 18.67px bold · both count as “large” in WCAG.
How to use it
- Enter the text colour and the background colour as hex, rgb(), hsl() or a CSS colour name.
- Read the contrast ratio and the pass or fail for WCAG AA and AAA, for normal and large text.
- If it fails, use the suggested nearest colour that reaches 4.5:1.
Example
Input
Text #767676 on background #ffffff
Result
4.54:1 AA · normal text pass (requires 4.5:1) AA · large text & UI pass (requires 3:1) AAA · normal text fail (requires 7:1) AAA · large text pass (requires 4.5:1)
The WCAG thresholds
- AA normal text: 4.5:1
- The level most accessibility laws and audits ask for.
- AA large text and UI: 3:1
- Large text is 24px, or 18.66px bold, and up. Icons, borders of inputs and focus rings also need 3:1.
- AAA: 7:1 and 4.5:1
- The enhanced level. Good for long reading, not usually required.
- Transparent colours
- Alpha colours are blended over the background first, and a transparent background over white.
Go deeper
Page updated
Frequently asked questions
What ratio do I need to pass WCAG AA?
4.5:1 for normal text, 3:1 for large text (18pt+, or 14pt bold) and UI components. AAA raises text to 7:1. These come from WCAG 2.x and are the baseline most accessibility regulations reference.
Is contrast a legal requirement?
Increasingly yes · the European Accessibility Act (enforced since June 2025), ADA case law in the US, and public-sector mandates all reference WCAG. Low contrast is also the single most common automated accessibility failure on the web.
Why does light grey text fail?
Light grey on white usually lands around 2–3:1. It looks clean on a good screen and becomes unreadable in sunlight, on a cheap display, or for anyone with low vision.
Want the full picture?
This tool covers one narrow check. A full SimplyScan runs 60 checks across 14 categories · exposed keys, RLS, XSS, auth, and speed · in 30 seconds.
Run a full security scanRelated tools
MIME Type Lookup
Search by file extension or MIME type · get the correct Content-Type for serving any file, with notes on the security-sensitive ones.
HTTP Status Codes
Every HTTP status code, searchable · what each means, when to use it, and which ones have security implications worth knowing.
Port Number Lookup
Search any port number or service · see what normally runs there and whether it belongs on the public internet.