WCAG Color Contrast Checker

Easiest WCAG 2.2 + APCA contrast checker: type any color, see a live preview, and fix failing colors in one click. Eyedropper, opacity, color-blind simulation and whole-palette check.

Text color
Lightness100%
Opacity100%
Background color
Lightness59%
4.46 : 1
β˜…β˜…β˜†β˜†β˜†
Large text only β€” OK for big headings & icons, too weak for paragraphs.
APCA Lc -76 (WCAG 3 preview)
Type any color: #1E293B, 1e293b, #fff, rgb(30 41 59), hsl(220 40% 20%) or a name like navy. Tip: drag the Lightness slider until it turns green.
Normal text
βœ• AA 4.5βœ• AAA 7

Paragraphs, labels, links (under 24px).

Large text
βœ” AA 3βœ• AAA 4.5

Headings 24px+, or 18.7px+ bold.

UI & icons
βœ” AA 3

Buttons, input borders, icons, charts.

APCA (WCAG 3)
βœ” Body Lc75βœ” Content Lc60βœ” Heading Lc45

Lc -76 β€” good body text.

πŸ‘€ Live Preview
How readable is this headline?
This paragraph uses your exact colors. Click here and type your own text to test it. Good contrast helps people with low vision, older users and anyone reading on a phone outside in the sun. This is a link inside text.
Small caption text at 70% strength β€’ 3.02:1
Normal text β†’ needs 4.5:1 β€’ βœ• fails at this size
πŸͺ„ One-Click Fix
⚑ Try popular combinations
πŸ•˜ Recent checks
Your last checks will appear here.
🎨 Check your whole brand palette
Paste your brand colors (any format, separated by spaces, commas or new lines). We test every pair β€” click a cell to load it above.
text ↓ / bg β†’0F172AFFFFFF6366F1EC4899F59E0B10B981
0F172Aβ€”
Aa
AAA 17.8
Aa
Large 3.9
Aa
AA 5.0
Aa
AAA 8.3
Aa
AAA 7.0
FFFFFF
Aa
AAA 17.8
β€”
Aa
Large 4.4
Aa
Large 3.5
Aa
βœ• 2.1
Aa
βœ• 2.5
6366F1
Aa
Large 3.9
Aa
Large 4.4
β€”
Aa
βœ• 1.2
Aa
βœ• 2.0
Aa
βœ• 1.7
EC4899
Aa
AA 5.0
Aa
Large 3.5
Aa
βœ• 1.2
β€”
Aa
βœ• 1.6
Aa
βœ• 1.3
F59E0B
Aa
AAA 8.3
Aa
βœ• 2.1
Aa
βœ• 2.0
Aa
βœ• 1.6
β€”
Aa
βœ• 1.1
10B981
Aa
AAA 7.0
Aa
βœ• 2.5
Aa
βœ• 1.7
Aa
βœ• 1.3
Aa
βœ• 1.1
β€”
8 of 30 combinations are safe for normal text.
πŸ“˜ What do these results mean? (simple guide)
Contrast ratio
How different the text and background are, from 1:1 (same color) to 21:1 (black on white). Higher = easier to read in sunlight, on cheap screens and for people with weak eyesight.
AA vs AAA
AA is the legal minimum in most countries (ADA, EU Accessibility Act): 4.5:1 for normal text, 3:1 for large text. AAA is the gold standard: 7:1 and 4.5:1.
What is β€œlarge text”?
24px (18pt) and bigger, or 18.66px (14pt) and bigger when bold. Headlines usually count as large text.
UI components & icons (WCAG 1.4.11)
Buttons borders, input outlines, icons and charts need at least 3:1 against what is next to them.
APCA (WCAG 3 preview)
A newer, more accurate method that also cares about font size and dark mode. Lc 90 = perfect for body text, Lc 75 = minimum for paragraphs, Lc 60 = content text, Lc 45 = large headlines, Lc 30 = icons & placeholders.
Guest Free Trial: 0 of 5 free uses β€’ Sign in with Gmail for 10 tools/day

πŸ’‘ Help us improve the WCAG Color Contrast Checker

Missing a feature or found a problem? Tell us β€” we read every message and add the most-requested features.

How to Use the WCAG Color Contrast Checker

  1. 1
    Type or pick your text and background colors
  2. 2
    Read the big score and AA / AAA results
  3. 3
    Click a One-Click Fix if it fails
  4. 4
    Share the link or copy the CSS

Features

βœ“One-Click Fix
βœ“APCA (WCAG 3)
βœ“Live UI Preview
βœ“Palette Matrix

Check colour contrast for accessibility

Text that doesn’t stand out from its background is hard to read β€” especially for people with low vision and anyone reading on a phone in sunlight. This color contrast checker calculates the WCAG contrast ratio of any two colours, tells you whether they pass AA and AAA, and suggests the closest colour that passes with one click.

WCAG contrast requirements

ContentAA (minimum)AAA (enhanced)
Normal text4.5 : 17 : 1
Large text (β‰₯ 24 px, or β‰₯ 18.66 px bold)3 : 14.5 : 1
Icons, buttons, input borders3 : 1β€”

How to use it

  1. Type or pick the text and background colours (HEX, RGB, HSL β€” or use the eyedropper).
  2. See the ratio, pass/fail badges and a live preview.
  3. Click β€œFix” to get the nearest passing colour that keeps your brand look.
  4. Check a full palette at once in the matrix.

What is APCA?

APCA (Advanced Perceptual Contrast Algorithm) is a newer method being developed for future WCAG versions. It measures contrast more like human eyes do, especially for dark mode. The checker shows APCA values as extra guidance; WCAG 2.2 AA is still the legal standard in most places.

Why it matters

  • Accessibility laws such as the European Accessibility Act and the ADA refer to WCAG.
  • Readable text improves conversions and lowers bounce rates.
  • Google’s Lighthouse audit flags low-contrast text.

Building a full colour scheme? Start with the color palette generator.

The numbers that matter

LevelNormal textLarge text (about 24 px, or 19 px bold)
AA (the usual standard)4.5 : 13 : 1
AAA (stricter)7 : 14.5 : 1

Buttons, icons and form borders need at least 3 : 1 against their background.

Examples

  • Dark grey text on white: about 17 : 1 β€” easy to read.
  • Light grey placeholder text on white: often around 2.3 : 1 β€” fails, which is why placeholders are hard to read.
  • White text on a bright orange button: about 2.1 : 1 β€” fails; use dark text or a darker orange.

Fix a failing pair in one click

When a pair fails, the checker suggests the nearest colours that pass β€” a darker text, a darker background, or white text β€” so you keep your brand look. Preview the result on an article, buttons and forms, a card and a website layout.

Why it matters

Good contrast helps people with low vision, older readers and anyone using a phone in sunlight. Accessibility rules in many countries refer to WCAG, and readable pages keep visitors longer.

Copy the CSS, copy a report for your team, or share a link to the exact colour pair.

Frequently Asked Questions

What contrast ratio do I need?

At least 4.5:1 for normal text and 3:1 for large text and UI elements (WCAG AA).

What is the difference between AA and AAA?

AA is the standard most laws require; AAA is stricter (7:1 for normal text).

Can it fix my colours?

Yes, the Fix button finds the nearest colour that passes.

Does opacity affect contrast?

Yes. Set the opacity and the checker blends the colour with the background.

What is APCA?

A newer contrast method proposed for future WCAG; shown as extra guidance.

What contrast ratio do I need?

For normal text, at least 4.5 : 1 for WCAG AA. Large text needs 3 : 1.

Can I pick colours from my screen?

Yes. Use the πŸ’§ eyedropper in supported browsers to pick a colour from anywhere on screen.

Official Sources & Further Reading