PB_COLOR_CONTRAST_LOW
A text color in the rendered output fails WCAG AA contrast ratio against its background.
| Severity | warning |
| Category | design |
| Agent-repairable | Yes |
What happened
A text/background color combination in the rendered PDF fails the WCAG AA contrast ratio of 4.5:1. The text may be hard to read, especially in print.
How to fix
Darken the text color or lighten the background. The most common cause is a light
primary_color or accent_color in the theme:
You can also override specific elements with inline CSS:
WCAG AA requirements
| Use | Minimum ratio |
|---|---|
| Normal text (< 18pt) | 4.5:1 |
| Large text (≥ 18pt or bold ≥ 14pt) | 3:1 |
| UI components and graphics | 3:1 |