Background and foreground colors do not have a sufficient contrast ratio

In plain wordsText is easy to read against its background.

Pale grey text on white may look elegant, and many people cannot read it: on a phone in sunlight, with tired eyes, or with weaker eyesight.

  • Accessibility basics
  • 3 of 148 points
  • You can fix this yourself

What it means

Contrast is the difference in brightness between text and what is behind it. Light grey on white, or white on pale yellow, may look refined on a designer's monitor. On a phone in daylight, or for the many people with less than perfect eyesight, it is hard or impossible to read.

The accessibility guidelines set a number: a contrast ratio of at least 4.5 to 1 for normal text, and 3 to 1 for large text. Google measures the text on the loaded page against it where it can work out both colours. It cannot judge text on a photo or a gradient.

What causes it

  • Grey text that is too light: captions, placeholder text, footer links.
  • White text on a light brand colour, often on buttons.
  • Text over a photo with no dark layer behind it. The test cannot measure this case, so check it by eye.

How to fix it

  1. Make the text darker or the background lighter until the contrast is at least 4.5 to 1 for normal text.
  2. A free contrast checker shows the number for any two colours.
On white, a mid-grey fails and a darker grey passes.
Before
color: #9a9a9a;  /* 2.8 to 1 on white */
After
color: #595959;  /* 7 to 1 on white */

Check it yourself

Read the page on a phone outdoors. Text you have to squint at fails.

Or run a free audit: it checks this and 53 other things on your page in about a minute, and shows the proof for each one.

How we test it

What we look at
Google's test of the loaded page: the colour of text against its background.
It passes when
All text has a contrast of at least 4.5 to 1 (3 to 1 for large text).
What it is worth
3 of 148 points in rule book 0.5, in Accessibility basics. A rule that cannot be checked on a page counts neither for nor against it.

Questions

How do I measure contrast?

In Chrome, inspect the text and click the colour swatch: it shows the ratio. Free tools such as the WebAIM contrast checker do the same for any two colours.

Does the logo have to pass?

No. Logos and purely decorative text are exempt.

Sources

Where to read more, and where to check what this page says. Opened and read on 20 and 24 November 2026.

Also useful: what a good website score is, how we compare with PageSpeed Insights and the full rule book.

Does your website have this problem?

A free audit checks this and 53 other things, and shows the proof. About a minute, no email needed.