Contrast ratio
4.54:1
APCA Lc 71.6WCAG 3 draft score, for reference only. Read the value without its sign: about 75 for body text, 60 for other text, 45 for large headlines.
AA · Normal text
needs 4.5:1
AA · Large text (18pt+)
needs 3:1
AA · UI components & graphics
needs 3:1
AAA · Normal text
needs 7:1
AAA · Large text
needs 4.5:1
Large heading text
Normal paragraph text. The quick brown fox jumps over the lazy dog, checking readability at typical body size.
Small print: terms, captions, helper text.
At this size the text counts as normal: AA needs 4.5:1 (pass), AAA needs 7:1 (fail).
Suggested compliant alternatives (closest to your color)
#535353passes AAA at 7.69:1Extract colors from an image
Contrast grid for a whole palette
Paste up to 12 colors. Every text and background pair is checked at once.
| Text ↓ / Bg → | #ffffff | #f4f4f5 | #767676 | #1f2937 | #2563eb | #dc2626 |
|---|---|---|---|---|---|---|
| #ffffff | - | 1.1Fail | 4.5AA | 14.7AAA | 5.2AA | 4.8AA |
| #f4f4f5 | 1.1Fail | - | 4.1AA18 | 13.4AAA | 4.7AA | 4.4AA18 |
| #767676 | 4.5AA | 4.1AA18 | - | 3.2AA18 | 1.1Fail | 1.1Fail |
| #1f2937 | 14.7AAA | 13.4AAA | 3.2AA18 | - | 2.8Fail | 3.0AA18 |
| #2563eb | 5.2AA | 4.7AA | 1.1Fail | 2.8Fail | - | 1.1Fail |
| #dc2626 | 4.8AA | 4.4AA18 | 1.1Fail | 3.0AA18 | 1.1Fail | - |
AA18 means the pair passes only for large text and UI parts (3:1). Faded cells fail.
How to use
Enter the text and background colors
Type or paste a value into Text color and Background color, use the pickers, or press Pick from screen in Chrome or Edge. The Lightness slider under each field darkens or lightens that color, and Opacity sets see-through text.
Read the ratio and the five badges
The big number is the WCAG ratio. The badges show AA and AAA for normal text, large text and UI parts. Set Font size and Bold in the preview to see which rule applies to your real text.
Fix, share or test more colors
Press Use on a suggested shade, or use the background suggestion instead. Copy results or copy a link to the pair. Upload a screenshot to pull colors in, or paste a palette into the contrast grid.
Why Color Contrast Checker
- WCAG 2 ratio with AA and AAA results for text and UI components.
- Lightness sliders, text opacity and a font size preview.
- Suggests a passing text shade or a passing background.
- Contrast grid for up to 12 palette colors at once.
- Share link for any pair. Runs in your browser.
WCAG contrast thresholds and APCA in brief
WCAG 2 sets fixed minimum ratios that depend on the size of the text and on the level you are aiming for. AA is the level most laws and policies point to. AAA is stricter and is usually applied to specific pages rather than a whole site.
APCA works differently. Instead of one ratio it reports a lightness contrast value called Lc, which is positive for dark text on a light background and negative for light text on a dark one. Read it without the sign. As a rough guide, about 75 suits body text, 60 other readable text and 45 large headlines. Because WCAG 3 is not final, treat the Lc figure as extra information and keep using the WCAG 2 results for compliance.
| Element | AA minimum | AAA minimum | WCAG criterion |
|---|---|---|---|
| Normal text (under 18pt, or under 14pt bold) | 4.5:1 | 7:1 | 1.4.3 and 1.4.6 |
| Large text (18pt or more, or 14pt bold or more) | 3:1 | 4.5:1 | 1.4.3 and 1.4.6 |
| UI components and meaningful graphics | 3:1 | No AAA level | 1.4.11 |
| Logos, brand names, disabled controls | Exempt | Exempt | 1.4.3 |
Common questions
What is a good color contrast ratio for text?
What contrast ratio is needed for WCAG AA?
How is the WCAG contrast ratio calculated?
How does the contrast checker pick a suggested color?
Does WCAG contrast apply to logos and brand names?
How do I check the contrast of text on a photo or image?
What is APCA contrast and should I use it?
Can the contrast checker test colors from a screenshot?
Which color formats does the contrast ratio checker accept?
How do I check contrast for semi-transparent text?
More WCAG tools
View allWebsite Accessibility Scanner
Full-site WCAG 2.1 audit with fix code for every issue
WCAG Accessibility Checker
Check one page or HTML against 70 WCAG 2.1 rules
ADA Title II Compliance Checker
WCAG 2.1 AA scan, deadline calculator and Title II readiness checklist
WCAG Compliance Checklist
Every WCAG 2.0, 2.1 and 2.2 criterion, with saved progress