Convert between color formats and automatically judge text readability against WCAG. A tool to stop "it looks a bit dark" from shipping.
| Criterion | Required ratio | Applies to |
|---|---|---|
| AA normal text | 4.5:1 or higher | Regular body copy |
| AA large text | 3:1 or higher | ≥18px, or ≥14px bold |
| AAA | 7:1 or higher | Highest level (accessibility-critical) |
AA compliance is recommended for public services and sites used by older readers. Because the ratio is derived from relative luminance, you cannot judge it by perceived brightness.
Advertisement