Zum Inhalt springen

WCAG 2.2 Farbkontrast-Prüfer & Korrektur-Assistent

Prüfen Sie Kontrastverhältnisse nach W3C WCAG 2.2 Standards mit intelligenten Korrekturvorschlägen im sRGB-Farbraum für AA- und AAA-Konformität.

Kontrast-Prüfer bereit. Farben eingeben oder auswählen.
WCAG 2.2 AA / AAA

WCAG 2.2 Kontrast-Prüfer

Farbauswahl

Beliebte barrierefreie Vorlagen
KontrastverhältnisErhöhter Kontrast (Bestanden AAA)
14.63:1

Relatives Leuchtdichteverhältnis nach der offiziellen W3C WCAG 2.2 Formel (L1 + 0.05) / (L2 + 0.05).

Normaler Text✓ AA
Großer Text✓ AA
Grafische Objekte & UI-Elemente✓ AA

WCAG 2.2 Konformitätsbewertung

Normaler Text

16px / Normal

Fließtext und Eingabefelder unter 18pt (24px) bzw. 14pt (18.66px) fett

Stufe AA (>= 4.5:1)Bestanden
Stufe AAA (>= 7.0:1)Bestanden

Großer Text

>= 24px / 18.66px fett

Überschriften und Text ab mindestens 18pt (24px) bzw. 14pt (18.66px) fett

Stufe AA (>= 3.0:1)Bestanden
Stufe AAA (>= 4.5:1)Bestanden

Grafische Objekte & UI-Elemente

SC 1.4.11

Formularrahmen, Schaltflächenränder und Icons (WCAG 2.2 SC 1.4.11)

Stufe AA (>= 3.0:1)Bestanden
* WCAG SC 1.4.11 definiert Nicht-Text-Kontrast nur für Stufe AA (kein AAA-Kriterium).

Live-Vorschau

Normale Typografie (16px / 400)

Guter Kontrast ist das Fundament inklusiven Webdesigns. Er gewährleistet Lesbarkeit bei schwierigen Lichtverhältnissen sowie für Menschen mit Sehschwächen.

Große Typografie (24px / 700)

Klare und barrierefreie Typografie für alle

Interaktive UI-Komponenten (WCAG SC 1.4.11)
Status-Indikator

Intelligente Farbkorrektur & Vorschlags-Assistent

Benötigen Sie konforme Farben? Fixieren Sie Hintergrund oder Vordergrund, um die nächste im sRGB-Farbraum liegende Farbe zu finden, die den Zielwert bei minimaler Farbdistanz erreicht.

Farbe fixieren
Ziel-Kontrastverhältnis

Ihr aktuelles Farbpaar erfüllt oder übertrifft das gewählte Zielverhältnis bereits! (14.63:1 >= 4.5:1)

How WCAG 2.2 Color Contrast Works

Digital accessibility depends fundamentally on sufficient perceptual contrast between text, interface elements, and their background surfaces. The W3C Web Content Accessibility Guidelines (WCAG 2.2) establish clear mathematical criteria to ensure digital interfaces remain completely legible and operable for people with moderately low vision, color vision deficiencies (protanopia, deuteranopia, tritanopia), aging eyes, and under adverse ambient lighting conditions.

The W3C Relative Luminance & Contrast Formula

Contrast in WCAG is calculated using the relative luminance of colors in the standard sRGB color space. The relative luminance (L) of an sRGB color is determined by linearizing each 8-bit color channel (R, G, B) and weighting them according to human spectral eye sensitivity:

L = 0.2126 * R_linear + 0.7152 * G_linear + 0.0722 * B_linear
Where C_linear = (C / 255 <= 0.04045) ? (C / 255) / 12.92 : ((C / 255 + 0.055) / 1.055)^2.4

The contrast ratio between two colors is then defined as:

Contrast Ratio = (L1 + 0.05) / (L2 + 0.05)

Where L1 is the relative luminance of the lighter color and L2 is the relative luminance of the darker color. The addition of the 0.05 offset represents ambient flare compensation. This yields a ratio ranging from 1.0:1 (identical colors) up to 21.0:1 (pure black on pure white).

WCAG 2.2 Success Criteria & Thresholds

  • Normal Text (WCAG SC 1.4.3 & 1.4.6): Body text, form field labels, and descriptions require at least 4.5:1 for Level AA and 7.0:1 for enhanced Level AAA.
  • Large Text (WCAG SC 1.4.3 & 1.4.6): Text that is at least 18pt (24px) regular weight or 14pt (18.66px) bold requires at least 3.0:1 for Level AA and 4.5:1 for Level AAA.
  • Graphical Objects & User Interface Components (WCAG SC 1.4.11): Visual information required to identify user interface components (such as form field borders, button outlines, and active state indicators) and graphical objects (such as standalone icons and chart elements) requires at least 3.0:1. Note that the W3C specification defines non-text contrast at Level AA only, without an AAA requirement.

Smart In-Gamut Color Remediation

When a selected color pairing fails your target contrast ratio, our remediation optimizer allows you to hold either the foreground or background color fixed. The engine searches candidate colors along the sRGB lightness dimension to find the exact counterpart that satisfies the selected target ratio (3.0:1, 4.5:1, or 7.0:1) while strictly minimizing the Euclidean color distance (ΔE) to your original design.

Frequently Asked Questions

Wie wird das WCAG 2.2 Kontrastverhältnis berechnet?
Das Kontrastverhältnis wird nach der W3C-Formel (L1 + 0.05) / (L2 + 0.05) ermittelt, wobei L1 die relative Leuchtdichte der helleren Farbe und L2 die der dunkleren Farbe im sRGB-Farbraum darstellt (Bereich 1:1 bis 21:1).
Was unterscheidet Stufe AA und AAA nach WCAG?
Stufe AA bildet die rechtliche und kommerzielle Mindestanforderung für Barrierefreiheit (z. B. BITV, EN 301 549). Stufe AAA fordert verstärkten Kontrast für Nutzer mit ausgeprägter Sehbehinderung.
Gibt es in WCAG 2.2 eine AAA-Stufe für nicht-textuelle UI-Komponenten?
Nein. Erfolgskriterium 1.4.11 (Nicht-Text-Kontrast) ist ausschließlich auf Stufe AA mit einem Mindestverhältnis von 3.0:1 definiert. Eine AAA-Anforderung existiert für Nicht-Text-Elemente nicht.
Wie ermittelt der Optimierer die vorgeschlagene Farbe?
Der Algorithmus fixiert die gewählte Farbe und durchsucht sRGB-Farbkandidaten entlang der Helligkeitsachse. Er wählt die Farbe aus, die das geforderte Zielverhältnis erfüllt und dabei die geringste euklidische Farbdistanz (ΔE) zum Original aufweist.