Skip to content
Toolbento

Contrast checker

Check the WCAG 2 contrast ratio of a text colour on a background, with AA and AAA results.

Everything stays on this device

Contrast checker runs in your browser. The text and files you add are worked on by this device and are never uploaded, to us or to anyone else.

  • No uploads. The page is blocked from sending data to any other server.
  • No account, cookies, ads or tracking.
  • Fonts and scripts come from toolbento.app itself, so the page makes no requests to other companies.
  • Closing the tab clears your text and files from memory.

Read the full details on the privacy page.

Contrast ratio 17.4 to 1.

Preview

Large text, 24 pixels

Normal text at body size. The quick brown fox jumps over the lazy dog.

WCAG 2 checks

  • Normal text, AA needs 4.5:1Pass
  • Normal text, AAA needs 7:1Pass
  • Large text, AA needs 3:1Pass
  • Large text, AAA needs 4.5:1Pass
  • Icons and UI parts, AA needs 3:1Pass

Missing a feature or found a bug in Contrast checker? Tell me on X (@_andrewtran) or by email.

How to use Contrast checker

  1. Enter the text colour and the background colour, or pick them.
  2. Read the ratio and the pass or fail for each level.
  3. Adjust a colour until the level you need passes.

Questions and answers

Is my data sent anywhere?

No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.

What counts as large text?

Text of at least 24 pixels, or at least 18.66 pixels when bold. Large text needs 3 to 1 for AA, and normal text needs 4.5 to 1.

Is the ratio rounded?

It is cut to two decimals and never rounded up, so a result just under a limit is shown as a fail.

Esc

Loading tools