Huewell

Color contrast checker

Check whether text is readable on its background under WCAG 2.2, see the newer APCA score, and get the closest colours that pass.

Contrast ratio

What the WCAG levels mean

WCAG (the Web Content Accessibility Guidelines) measure contrast as a ratio from 1:1 (no difference) to 21:1 (black on white). The checks above follow WCAG 2.2:

  • AA normal text: 4.5:1. The level most laws and accessibility policies point to, including the UK public sector regulations, the European Accessibility Act and ADA guidance.
  • AA large text: 3:1. "Large" means at least 24px regular or 18.66px (14pt) bold.
  • AAA: 7:1 for normal text, 4.5:1 for large. A higher bar, worth aiming for with long reading text.
  • UI and graphics: 3:1. For input borders, icons, focus rings and chart lines (WCAG 1.4.11).

Ratios are shown rounded down, so 4.499 shows as 4.49 and fails; some checkers round up and give a false pass.

What is APCA?

APCA (Accessible Perceptual Contrast Algorithm) is a newer model being developed for future guidelines. It gives a lightness contrast score, Lc, and accounts for things WCAG 2 misses: dark text on light reads differently from light text on dark, and thin text needs more contrast. Rough guide: Lc 90 is ideal for body text, 75 is the minimum for body text, 60 for other content text, 45 for large headings, 30 for placeholder or disabled text. It is shown for information; WCAG 2.2 remains the standard you are assessed against.

How the suggestions work

When a pair fails, Huewell keeps the hue and colourfulness of your colour and only moves its lightness (in OKLCH) until the pair passes, then shows the closest passing text colour and the closest passing background. Your brand colour stays recognisably the same, just lighter or darker.

Questions

What contrast ratio do I need?

At least 4.5:1 for normal text and 3:1 for large text and UI elements to meet WCAG 2.2 level AA. Level AAA needs 7:1 for normal text.

Does contrast apply to logos?

No. WCAG exempts logos and brand names, and purely decorative text. It does apply to text in images that carries information.

Why does white on orange fail?

Bright oranges and yellows are very light, so white text on them has low contrast even though the colours feel strong. Try dark text, or darken the orange using the suggestion buttons.

Is APCA part of WCAG?

Not yet. APCA was proposed for WCAG 3, which is still a draft. Use WCAG 2.2 ratios for compliance and APCA as an extra readability check.

Can I share a result?

Yes. The address bar keeps both colours (#fg=…&bg=…), so copy it to share the exact pair.

More colour tools

Palette generatorPress Space for balanced colour schemes, lock the ones you like.Colour converterHEX, RGB, HSL, HSV, CMYK and OKLCH in one go.Image colour pickerPick colours and the main palette from any photo.CSS gradient generatorLinear, radial and conic gradients with CSS code.Tints & shadesLighter and darker versions, plus a 50–950 scale.Colour blindness simulatorSee palettes and images as people with CVD do.Colour name finderName any colour from nearly 1,000 names.Colour harmonyComplementary, triadic, analogous and more.Colour mixerBlend two colours and see the in-between steps.