Monu Tools

Varikontrastin tarkistin

Tarkista kontrastisuhde kahden varin valilla WCAG AA- ja AAA-saavutettavuustasoja vasten.

Nain kaytat tyokalua Kontrastin tarkistin

  1. 01

    Valitse tekstin vari ja taustan vari.

  2. 02

    Lue kontrastisuhde ja WCAG lapi- tai hylatty-merkit.

  3. 03

    Saada vareja kunnes ne lapaisevat tarvitsemasi tason.

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.

Usein kysytyt kysymykset

Mita kontrastisuhdetta tarvitsen?

WCAG AA vaatii 4,5:1 tavalliselle tekstille ja 3:1 suurelle tekstille (18pt tai 14pt lihavoitu). AAA vaatii 7:1 ja 4,5:1 vastaavasti.

Mika lasketaan suureksi tekstiksi?

Teksti, joka on vahintaan 24px (18pt), tai 18,66px (14pt) lihavoituna. Suurelle tekstille sallitaan alempi kontrastisuhde.

Miten suhde lasketaan?

Kunkin varin suhteellisesta luminanssista kayttaen virallista WCAG-kaavaa, antaen arvon valilla 1:1 (ei kontrastia) ja 21:1 (musta valkoisella).

Lähteet

Upota tämä työkalu

Lisää tämä työkalu omalle verkkosivustollesi. Kopioi alla oleva koodinpätkä, niin se pysyy ajan tasalla automaattisesti.

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

Liittyvat tyokalut