Monu Tools

Проверка контрастности цветов

Проверяйте коэффициент контрастности между двумя цветами по уровням доступности WCAG AA и AAA.

Как использовать Проверка контраста

  1. 01

    Выберите цвет текста и цвет фона.

  2. 02

    Прочитайте коэффициент контраста и значки WCAG.

  3. 03

    Корректируйте цвета до достижения нужного уровня.

What the contrast checker does

This is a WCAG color contrast checker that shows the exact contrast ratio between a text color and a background color, and whether it meets the AA and AAA accessibility levels. Pick colors with the swatch or by hex code and see a live preview.

Adjust the two colors until the badges pass the level you need, and the result updates instantly as you go.

Why contrast matters

Text that is too close in lightness to its background is hard or impossible to read, especially for people with low vision or color vision deficiencies, or for anyone on a phone in bright sunlight. Enough contrast keeps your content legible for everyone.

WCAG AA and AAA thresholds

The Web Content Accessibility Guidelines (WCAG) set the standard. AA, the level most sites aim for and that many accessibility laws reference, requires a ratio of 4.5:1 for normal text and 3:1 for large text. AAA is stricter at 7:1 and 4.5:1.

Large text gets a lower threshold because bigger letters stay legible at less contrast. It counts as large at roughly 24px (18pt), or 18.66px (14pt) when bold.

How the ratio is calculated

The ratio comes from the relative luminance of the two colors using the official WCAG formula, producing a value from 1:1 (no contrast, identical colors) up to 21:1 (black on white).

Runs in your browser

Everything is calculated in your browser, so it is instant and private. Nothing you pick is uploaded anywhere.

Часто задаваемые вопросы

Какой коэффициент контраста нужен?

WCAG AA требует 4,5:1 для обычного текста и 3:1 для крупного (18pt или 14pt жирный). AAA требует 7:1 и 4,5:1 соответственно.

Что считается крупным текстом?

Текст размером не менее 24px (18pt) или 18,66px (14pt) при жирном начертании. Крупный текст допускает более низкий коэффициент контраста.

Как вычисляется коэффициент?

По относительной яркости каждого цвета с использованием официальной формулы WCAG, дающей значение от 1:1 (нет контраста) до 21:1 (чёрный на белом).

Источники

Встроить этот инструмент

Добавьте этот инструмент на свой сайт. Скопируйте фрагмент ниже, он обновляется автоматически.

<iframe src="https://monu.tools/embed/ru/color-contrast-checker" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

Похожие инструменты