Text contrast (text-contrast)

Text smaller than 18pt (or 14pt bold) must meet a contrast ratio of 4.5:1 against its background.

Note: This text has a contrast ratio between 2.7:1 and 3:1 against a background image, which is insufficient for normal-sized text.

Insufficient text contrast 2.7:1–3:1:

This light gray text is rendered on a background image. Due to insufficient contrast (2.7:1–3:1), it fails the minimum requirement for readability.


Black hole sun

Note: Possible to implement because the contrast between text and image backgrounds can be programmatically estimated using computed styles and image sampling—though it may be less precise than with solid backgrounds.

axe detected: none  |  QualWeb detected: none