Contrast Checker

Calculate the contrast ratio of text and background colors.

Contrast
8.42
Very good
Small text
Large text

Good contrast for small text (below 18pt) and great contrast for large text (above 18pt or bold above 14pt).

Tip of the Day

Typography gives language a visual voice, shaping rhythm, hierarchy, and readability.

Color Contrast & Accessibility Standards Guide

Color-Mint calculates relative luminance and perceptual contrast strictly compliant with W3C Web Content Accessibility Guidelines (WCAG 2.1) and the modern Accessible Perceptual Contrast Algorithm (APCA).

WCAG Level AA (Minimum Contrast)4.5:1 / 3:1

Requires a minimum contrast ratio of 4.5:1 for regular body text (< 18pt) and 3.0:1 for large text (18pt+ or 14pt bold). This ensures content is readable for users with moderate low vision.

WCAG Level AAA (Enhanced Contrast)7.0:1 / 4.5:1

The gold standard for accessibility, demanding at least 7.0:1 for body typography and 4.5:1 for large headings, guaranteeing legibility across severe visual impairments.

How Relative Luminance is Calculated

Luminance is calculated by linearizing sRGB values through gamma expansion and weighting spectral sensitivity (21.26% Red, 71.52% Green, 7.22% Blue), measuring perceived photometric brightness.

APCA vs Traditional WCAG 2.1

APCA (Accessible Perceptual Contrast Algorithm) models human spatial vision, accounting for font weight and polarity (dark-on-light vs light-on-dark) to eliminate false contrast failures.

Frequently Asked Questions