TR

Home / Validate / Color Contrast Checker (WCAG)

👁️ Color Contrast Checker (WCAG)

Color Contrast Checker (WCAG) – get instant, free results right on your device.

WhatsAppTelegramX

Ratios are calculated using the WCAG 2.x formula. Large text is about 24 px and above (or 18.66 px bold). Not an official institution.

Last updated: November 2026 · Parameter year: 2026 · Methods and sources: Methodology · Editorial policy

What is Color Contrast Checker (WCAG)?

Color contrast is the difference in brightness between the text color and the background color. Insufficient contrast makes text unreadable, especially for users with low vision and on mobile screens under bright light.

The Web Content Accessibility Guidelines (WCAG) define the contrast ratio as a value between 1:1 (same color) and 21:1 (black on white). For normal text, level AA requires at least 4.5:1 and level AAA requires 7:1; for large text the thresholds are 3:1 and 4.5:1. The tool calculates the relative luminance of the two colors using the WCAG formula and gives a pass or fail result for all four levels.

The result is only the ratio between two solid colors; text over images or gradient backgrounds needs a separate evaluation. Contrast is only one part of accessible design.

How to use

Fill in these fields: Text color, Background color. Then press the button; the result appears on the same page and your data never leaves your device.

Formula

#000000 / #FFFFFF = 21 : 1

Example

#000000 / #FFFFFF = 21 : 1

Worked examples and tips

Example 1: Black #000000 text on a white #FFFFFF background gives a 21 : 1 ratio and passes all of the AA and AAA requirements. This is the highest possible ratio; you can compare every color pair against this extreme.

Example 2: If you try #777777, a common gray choice, as text on a white background, the ratio comes out as 4.48 : 1. It passes AA for large text, but falls just short of the 4.5 value required for AA normal text. Even though it looks perfectly readable on screen, it does not meet the standard; choosing a slightly darker gray is enough.

Example 3: White #FFFFFF text on a #0B7A6B background gives 5.24 : 1. It passes AA for normal and large text and also passes AAA for large text, but misses the 7 threshold for AAA normal text. With the default example #1A2B3C, white on top of it gives a ratio of 14.44 : 1 and passes all requirements.

Tips and common mistakes: Do the check not only on the main text, but also on button labels, form field borders, and placeholder text. For text written over a gradient or an image, measure the weakest point. Large text is about 24 pixels, or 19 pixels bold, and above. Passing the standard does not guarantee easy readability for everyone; try it on a real screen too.

Frequently asked questions

Color Contrast Checker (WCAG) – how to use it?

Fill in the fields and press the button; the result appears instantly. Example: #000000 / #FFFFFF = 21 : 1

Color Contrast Checker (WCAG) – is it free, and is my data stored?

Yes, it is free and requires no sign-up. Because processing happens in your browser, the information you enter is not sent to a server.

Related guide

Related tools

🏧IBAN CheckerValidate the format and check digits (mod 97) of an IBAN.📧Email Address CheckerEmail Address Checker – get instant, free results right on your device.🌐URL CheckerURL Checker – get instant, free results right on your device.💳Credit Card Number Checker (Luhn)Credit Card Number Checker (Luhn) – get instant, free results right on your device.🏁Barcode / EAN CheckerBarcode / EAN Checker – get instant, free results right on your device.📚ISBN CheckerISBN Checker – get instant, free results right on your device.