Перевіряйте коефіцієнт контрасту між двома кольорами щодо рівнів доступності WCAG AA та AAA.
Як користуватися Перевірка контрасту
Оберіть колір тексту та колір фону.
Прочитайте коефіцієнт контрасту та позначки проходження чи непроходження WCAG.
Коригуйте кольори, доки вони не пройдуть потрібний вам рівень.
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.
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.
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.
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).
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/uk/color-contrast-checker" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>Пов'язані інструменти
Форматуйте та прикрашайте SQL-запити з переносами рядків між реченнями та узгодженим регістром ключових слів або мініфікуйте їх в один рядок.
Прикрашайте XML із належними відступами або мініфікуйте його в один рядок. Коментарі, CDATA та інструкції обробки зберігаються.
Прикрашайте CSS із чистими відступами або мініфікуйте його, щоб зменшити розмір файлу. Обробляє медіазапити, calc() і ліцензійні коментарі.
Прикрашайте HTML із відступами, що враховують блоки, або мініфікуйте його. Вміст pre, textarea, script і style зберігається.