On this page
What this issue is
Contrast ratio compares the brightness of text with the colour behind it. It runs from 1:1 (no difference, like white on white) to 21:1 (black on white). WCAG 2.2 level AA asks for at least 4.5:1 for normal text and 3:1 for large text. Large means 24px and up, or 18.66px and up when bold.
Typical offenders are light grey body copy, pale placeholder or helper text, text over photos, brand-coloured links and small footer text. Logos and purely decorative text are exempt. Disabled controls are exempt too.
| Text type | Minimum ratio | Example pair |
|---|---|---|
| Normal text (under 24px, or under 18.66px bold) | 4.5:1 | #595959 on white is about 7:1 (pass) |
| Large text (24px+, or 18.66px+ bold) | 3:1 | #767676 on white is about 4.5:1 (pass) |
| Light grey on white | Fails | #AAAAAA on white is about 2.3:1 (fail) |
Why it costs you leads or sales
If visitors cannot read your offer, price, delivery terms or form instructions, they leave or make mistakes. Low contrast hurts people with low vision or colour vision differences. It also hurts everyone on a phone in sunlight or on a dim screen. It can also raise legal and procurement risk where accessibility standards apply.
- Landing pageVisitor arrives from an ad
- Reads offer and pricePale grey text is hard to read
- Fills the formHint text missed or misread
- Lead or saleVisitor leaves first
The break happens when the key text cannot be read.
Example: illustrative numbers only, not measured data.
How to check if your site has it
Pick the main text styles
List body text, headings, links, helper text, footer text and text on buttons or images.
Use Chrome DevTools
Right-click the text, choose Inspect, then click the colour swatch next to color in the Styles pane. The picker shows the contrast ratio and a pass or fail mark for AA.
Run an automated audit
Run Lighthouse (Accessibility category) in Chrome DevTools, or a browser extension such as axe DevTools or WAVE. They list elements that fail contrast.
Check text over images by hand
Automated tools often miss text over photos, gradients and video. Test the worst spot behind the text, and on mobile as well.
Check hover, focus and error states
Text can change colour in these states and fall below 4.5:1.
How to fix it
The fix is always one of two things: make the text darker (on a light background) or lighter (on a dark one), or change the background. Where the setting lives depends on your platform and theme.
Change theme colours
Go to Appearance > Editor > Styles > Colors (block themes) or Appearance > Customize > Colors (classic themes) and darken text colours.
Fix single blocks
In the block editor, select the block and change Text colour in the sidebar. The picker shows a low-contrast warning.
Edit theme colour schemes
Go to Online Store > Themes > Customize > Theme settings > Colors. Darken the text colour in each colour scheme.
Check section overrides
Some sections use their own colour scheme. Check each one, especially banners with text over images.
Edit the style
Select the element in the Designer, open the Style panel and change Typography > Color. Update the class so every use is fixed.
Add an overlay on images
For text over images, add a dark overlay or a solid background behind the text.
Edit text design
Select the text, click Edit Text, then change the colour in the text colour picker. Update the site's theme colours under Site Design if the colour is reused.
Edit site styles
Open Website > Site Styles > Colors and adjust the palette so text and background pairs are stronger. Check each section's colour theme.
Update your CSS
Replace low-contrast colour values with darker ones, ideally in shared CSS variables so one change fixes every use.
/* Before: #AAAAAA on white is about 2.3:1 (fails) */
/* After: #595959 on white is about 7:1 (passes) */
:root {
--text-muted: #595959;
}
.helper-text {
color: var(--text-muted);
}Low contrast
- Light grey body text on white
- Pale helper text under form fields
- White text on a bright photo with no overlay
Passing contrast
- Dark grey text at 4.5:1 or higher
- Helper text darkened to match body text
- Dark overlay behind text on images
How to confirm it's fixed
- Every normal text colour pair measures 4.5:1 or higher
- Large text measures 3:1 or higher
- Lighthouse or axe reports no colour contrast failures
- Text over images was checked by hand on desktop and mobile
- Hover, focus and error states were checked
- Placeholder and helper text pass
How to prevent it happening again
Add contrast to your design rules. Approve colour pairs in a palette document with their ratios. Run Lighthouse or axe before publishing new landing pages, and re-test after theme updates, rebrands or new banners. Ask agencies and designers for AA-compliant colours in the brief.
How FunnelGuard handles this
This is outside what FunnelGuard checks. FunnelGuard runs your real customer journeys on a schedule and checks steps, tracking hits and lead delivery. It does not measure colour contrast. The kind of tool that fits is an accessibility testing tool: a browser audit such as Lighthouse, axe DevTools or WAVE, or a scheduled accessibility scanner. Use one of those for this issue and use FunnelGuard for broken forms, checkouts and tracking.
Questions people ask
What is the minimum colour contrast ratio for text?
WCAG 2.2 level AA requires at least 4.5:1 for normal text and 3:1 for large text. Large text is 24px or bigger, or 18.66px or bigger when bold.
How do I check text contrast on my website?
Right-click the text in Chrome, choose Inspect, and click the colour swatch in the Styles pane to see the ratio. You can also run Lighthouse or an extension like axe DevTools or WAVE to list failing elements.
Why does Lighthouse say my background and foreground colours do not have a sufficient contrast ratio?
The text colour and its background measure below 4.5:1 (or 3:1 for large text). Darken the text or change the background until the pair passes, then run the audit again.
Does placeholder text need to meet the 4.5:1 contrast ratio?
Yes, placeholder text is text, so it should meet 4.5:1 against the field background. Light grey placeholders are a common failure. It is better not to rely on placeholders for important instructions.
Does text on images need to meet contrast requirements?
Yes. Text over photos, gradients or video must reach the same ratios against the worst part of the background behind it. A dark overlay or a solid panel behind the text is the usual fix.
Is logo text exempt from contrast rules?
Yes. WCAG exempts logos and brand names, and purely decorative text. Disabled controls are also exempt, but normal readable text on your pages is not.
Can FunnelGuard check colour contrast?
No. Colour contrast needs an accessibility testing tool such as Lighthouse, axe or WAVE. FunnelGuard monitors funnel steps, tracking and lead delivery instead.
Related issues
- PRF-301CTA button contrast too low (white on light yellow)Fix guide
- PRF-310Required fields indicated by colour onlyFix guide
- PRF-307Form errors shown only in red with no textFix guide
- PRF-305Form inputs without labels (placeholder only)Fix guide
- PRF-311Focus outline removed (outline:none)Fix guide
- PRF-302Images missing alt textFix guide