Tarkista kontrastisuhde kahden varin valilla WCAG AA- ja AAA-saavutettavuustasoja vasten.
Nain kaytat tyokalua Kontrastin tarkistin
Valitse tekstin vari ja taustan vari.
Lue kontrastisuhde ja WCAG lapi- tai hylatty-merkit.
Saada vareja kunnes ne lapaisevat tarvitsemasi tason.
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.
Usein kysytyt kysymykset
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.
Teksti, joka on vahintaan 24px (18pt), tai 18,66px (14pt) lihavoituna. Suurelle tekstille sallitaan alempi kontrastisuhde.
Kunkin varin suhteellisesta luminanssista kayttaen virallista WCAG-kaavaa, antaen arvon valilla 1:1 (ei kontrastia) ja 21:1 (musta valkoisella).
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
Muotoile ja kaunista SQL-kyselyita lausekkeiden rivinvaihdoilla ja yhtenaisella avainsanojen kirjainkoolla, tai pienenna ne yhdelle riville.
Kaunista XML kunnollisella sisennyksella, tai pienenna se yhdelle riville. Kommentit, CDATA ja kasittelyohjeet sailytetaan.
Kaunista CSS puhtaalla sisennyksella, tai pienenna se kutistaaksesi tiedostokokoa. Kasittelee media-kyselyt, calc():n ja lisenssikommentit.
Kaunista HTML lohkotietoisella sisennyksella, tai pienenna se. Elementtien pre, textarea, script ja style sisalto sailytetaan.