Accessible Text Color Finder

Find a readable, WCAG-compliant text color for any background. Enter a background color and get a suggested foreground that clears AA or AAA.

Accessible Text Color Finder takes a background color and suggests a readable foreground — black or white, whichever clears WCAG contrast requirements by a larger margin — along with the exact ratio and a pass/fail badge for AA and AAA. It shares its engine with Contrast Checker, just framed around "what text color should I use here" rather than checking a pair you already have.

  • Enter any background color and get a readable suggested text color
  • See the exact contrast ratio and WCAG pass/fail
  • Works for normal text, large text, and UI components
  • Deeplinkable via a ?bg= URL parameter
  • Link into the Color Editor to fine-tune further
  • Choosing text color for a dynamic background — Quickly check what text color to use over a user-uploaded or brand-derived background color.
  • Building a design system rule — Confirm the black/white text-color rule your components use actually passes WCAG for your palette's range of backgrounds.

How It Works

1

Enter a background color

Pick or type the background your text will sit on.

2

Get a suggested text color

See a readable foreground (black or white, whichever passes with more margin) with its exact contrast ratio.

3

Check other options

Toggle large text or UI component thresholds to see how the requirement changes, or open the color in the full Editor.

Frequently Asked Questions

How is the suggested text color chosen?

Between pure black and pure white, whichever has the higher contrast ratio against your background is suggested — the simplest, most robust choice for readability.

Can I use a color other than black or white?

This page suggests black/white for simplicity. Open the color in the Color Editor's Accessibility panel to nudge a specific brand color toward passing while keeping its hue.

Does it check AAA as well as AA?

Yes — the ratio and both pass/fail badges are shown together, so you can see whether a background clears the stricter AAA threshold too.