Color and CSS tools

Color Contrast Checker

Check whether your text color is readable on its background. The tool shows the contrast ratio, tells you if it passes WCAG AA and AAA, and suggests the closest color that does.

FreeNo sign-upRuns in your browser
1 view

How to use the color contrast checker

  1. Enter or pick the text color and the background color.
  2. Read the ratio and the pass or fail result for normal text, large text and buttons.
  3. If it fails, use the suggested color or swap and adjust the colors.

The Web Content Accessibility Guidelines (WCAG) set minimum contrast ratios so that people with low vision or color blindness can read your content. Level AA needs at least 4.5:1 for normal text and 3:1 for large text (24 pixels, or 18.66 pixels bold, and above) and for interface parts such as buttons. Level AAA needs 7:1 for normal text and 4.5:1 for large text. Light grey text on white is the most common failure.

Frequently asked questions

What contrast ratio do I need?

At least 4.5:1 for normal text to meet WCAG AA. Aim for 7:1 where you can.

What counts as large text?

Text of 24 pixels or more, or 18.66 pixels or more in bold.

Does it work with transparent colors?

Enter solid colors. For transparent text, mix it with the background first and test the result.

More free tools

See all tools

Did this tool help you?Tap the heart to let us know. It takes one second and no account.
Bigland Network IT

Practical tutorials for people who run, build and fix things: operating systems, databases, development, networking and security.

Topics

More

Site

© 2026 Bigland Network. All rights reserved.Always test commands on a non-production system first.
Scroll to Top