hexcolors

Tools / Accessible color finder

Accessible color finder

Got a color pair that fails contrast? Get the nearest version that passes WCAG, with your hue intact.

Adjust the text color

Adjust the background

How to use it

Three quick steps.

  1. Enter your text color and background color.
  2. Choose the contrast level you need.
  3. Copy the adjusted text or background color that passes.

Good to know

Get better results.

  • Adjustments keep the hue and change only the lightness, so your brand feel survives.
  • For bright colors like yellow, the fix is usually dark text, not darker yellow.
  • Use AA for most text. Choose AAA for long-form reading or high-stakes content.

Common questions

How does the finder fix a color?

It keeps the hue and saturation and moves the lightness away from the other color in small steps until the contrast ratio reaches your target.

Which level should I choose?

AA body text (4.5:1) is the usual requirement. AA large text (3:1) applies to big or bold text. AAA (7:1) is the strictest level for normal text.

Why suggest changing the background too?

Sometimes the text color is fixed by the brand. Adjusting the background lets you keep it.

More tools

Keep going with a related tool.