On this page
What this issue is
Colour contrast is the difference in brightness between two colours, shown as a ratio from 1:1 (identical) to 21:1 (black on white). A CTA (call to action) is the button or link that asks for the next step: "Get a quote", "Add to basket", "Book a call".
The issue appears when the label colour is too close to the button colour, or when the button colour is too close to the page behind it. Common cases are white text on a light orange or yellow button, grey text on a pale grey button, and a ghost button with a thin light outline on a photo.
| What you test | Minimum ratio | WCAG criterion |
|---|---|---|
| Button label, normal size | 4.5:1 | 1.4.3 Contrast (Minimum) |
| Button label, large (about 24px, or 18.66px bold, and up) | 3:1 | 1.4.3 Contrast (Minimum) |
| Button edge or fill against the page, if you need it to see the button | 3:1 | 1.4.11 Non-text Contrast |
| Hover, focus and disabled-looking states | Same rules for text; focus indicator 3:1 | 1.4.3, 1.4.11 |
Why it costs you leads or sales
A button people cannot read or spot does not get clicked. Low vision, colour blindness, glare on a phone outdoors and cheap screens all make weak contrast worse. The visitor who misses your button does not complain. They leave.
There is also a legal side. Contrast is one of the easiest accessibility failures to measure, so it is often cited in accessibility complaints and audits. This guide is not legal advice, but a failing CTA is a visible, checkable gap against WCAG 2.2 AA.
Low contrast
- White label on a light orange button (about 2:1)
- Button barely stands out from a pale background
- Hard to read on a phone in sunlight
Fixed
- Dark label on the same orange, or white on a darker orange (4.5:1 or more)
- Button edge clearly separate from the page (3:1 or more)
- Readable in bright light and for colour-blind visitors
Example: illustrative numbers only, not measured data. Weaker contrast tends to mean fewer visitors notice and click the button.
How to check if your site has it
List your key CTAs
Note the main button on the homepage, landing pages, product pages, cart, checkout, forms and any sticky header or popup button.
Get the exact colours
In Chrome, right-click the button, choose Inspect, and read the color and background-color values in the Styles panel. Click the colour swatch to see the contrast ratio Chrome calculates for text.
Run a contrast checker
Paste the two colours into a tool such as the WebAIM Contrast Checker. Check the label against the button fill, and the button fill against the page background.
Test every state
Hover over the button, tab to it with the keyboard and look at it on mobile. Hover and focus colours often fail even when the default passes.
Check buttons over images or gradients
Test the lightest and darkest part of the background behind the button, on desktop and mobile crops.
Run an automated scan
Run Lighthouse (Accessibility category) in Chrome DevTools, or a free extension such as axe DevTools, and look for contrast failures on your buttons.
How to fix it
The fix is to change one of the two colours until the ratio passes. Usually it is easiest to darken the button fill, or switch the label from white to a dark colour. Keep your brand colour where you can and adjust its shade.
Find where the colour is set
Open Appearance > Editor (block themes) or Appearance > Customize, and look at Styles > Colors or Buttons. For a single button, select it in the block editor and change Colour in the block sidebar.
Pick passing colours
Set a darker background or a darker text colour so the ratio is at least 4.5:1. The block editor shows a low contrast warning on some colour pairs.
Check page builders
If you use Elementor, Divi or similar, update the button style in the global styles or kit so every button changes at once.
Open theme settings
Go to Online Store > Themes > Customize > Theme settings > Colors. Most themes have colour schemes with button background and button label colours.
Adjust the scheme
Change the button and button label colours in each scheme that is used on pages with CTAs, including the announcement bar and footer.
Check custom CSS
If the theme has custom CSS or a section overriding colours, edit it under Customize > Theme settings > Custom CSS or in the theme code.
Edit the button class
Select the button, open the Style panel and change Background and Typography colour on its class. Use a global class so all buttons update.
Check states
Use the state dropdown to set Hover and Focus styles that also pass contrast.
Edit the button design
Select the button, choose Design, then change the fill and text colours. In the Editor you can also update the site's colour palette under Site Design.
Check hover
Open the Hover tab in the design panel and set passing colours there too.
Use Site Styles
Open Pages > Site Styles > Buttons (or Colors) and change the button fill and text colours for the colour themes in use.
Check section themes
Each section can use a different colour theme, so check buttons in dark and light sections separately.
Edit the button element
In the funnel or website builder, select the button and change Background colour and Text colour in the element settings.
Update repeated buttons
Check each step and popup of the funnel, since buttons are often set one by one.
Use CSS variables
Define button colours once and reuse them, then change the values in one place. See the snippet below.
Style focus and hover
Add :hover and :focus-visible rules that keep contrast and show a clear outline.
.cta {
--cta-bg: #b34700; /* dark orange */
--cta-text: #ffffff; /* white on this orange is above 4.5:1 */
background: var(--cta-bg);
color: var(--cta-text);
border: 2px solid var(--cta-bg);
padding: 0.75rem 1.5rem;
font-weight: 700;
}
.cta:hover {
background: #8f3900;
border-color: #8f3900;
}
.cta:focus-visible {
outline: 3px solid #1a1a1a;
outline-offset: 2px;
}How to confirm it's fixed
- Label against button fill is 4.5:1 or more (3:1 for large text)
- Button fill or border against the page background is 3:1 or more
- Hover and keyboard focus states pass too
- Buttons over images pass at the lightest and darkest point
- Lighthouse or axe shows no contrast failures on the page
- Checked on a real phone in daylight or with brightness lowered
- Checked in the cart, checkout, popups and sticky bars, not only the homepage
How to prevent it happening again
Contrast usually breaks when someone changes a brand colour, adds a new landing page template, or installs a theme update. Lock approved button colours into your design system and make contrast part of review.
- Keep a short list of approved button colour pairs with their ratios
- Use global styles or CSS variables so one change updates every button
- Check contrast before publishing any new page, banner or popup
- Add an accessibility scan to your release or QA routine
- Recheck after theme updates, rebrands and page builder changes
- Ask agencies and freelancers to supply WCAG 2.2 AA colour pairs
How FunnelGuard handles this
FunnelGuard does not check colour contrast yet. It is a possible future check, so do not rely on FunnelGuard to tell you about it today.
What FunnelGuard does cover nearby: a robot visitor runs your real customer journeys on a schedule and checks that each step works, such as a lead form, a checkout or a booking button, and that tracking hits and test leads arrive. That tells you whether the button works, not whether people can easily see it.
To watch for contrast problems, run Lighthouse or axe DevTools on your key pages after each design change, and recheck your CTA colours in a contrast checker whenever the brand palette or theme changes. A free read-only FunnelGuard website audit is also available for other site issues.
- Visitor landsPage loads fine
- Looks for CTAButton blends into the background
- Clicks buttonNever happens
- Form or checkoutNever reached
- Lead or saleLost
The visitor lands, but never notices the button, so every later step is lost.
Low contrast
Leads or data lost
The button is faint and hard to read. Many visitors skip it, and the page fails WCAG 2.2 AA.
Toggle the cause to compare a weak and a strong CTA.
Questions people ask
What contrast ratio does a CTA button need?
For WCAG 2.2 AA, button text needs at least 4.5:1 against the button colour, or 3:1 if the text is large (about 24px, or 18.66px bold). If the button's edge or fill is needed to recognise it, that also needs 3:1 against the page background.
Why is my button text hard to read?
Usually the text and background colours are too close in brightness, such as white on light orange or grey on pale grey. Measure them in a contrast checker and darken or lighten one until the ratio reaches 4.5:1.
How do I check colour contrast on my website?
Right-click the button, choose Inspect in Chrome, and read its colours. Paste them into a contrast checker such as the WebAIM Contrast Checker, then run Lighthouse or axe DevTools to scan the whole page.
Does white text on an orange or yellow button pass WCAG?
Often it does not. Bright orange and yellow are light, so white text on them can fall below 4.5:1. Use a darker shade of the colour, or switch to dark text, then retest the exact values.
Do hover and focus states need to meet contrast rules?
Yes. The text in each state still needs 4.5:1 (or 3:1 if large), and a keyboard focus indicator needs at least 3:1 against its surroundings. Test hover and focus as well as the default look.
Can low contrast on buttons cause an accessibility lawsuit?
Contrast failures are easy to measure, so they often appear in accessibility audits and complaints. This is not legal advice, but meeting WCAG 2.2 AA contrast on your CTAs reduces that exposure.
Does FunnelGuard check colour contrast?
No. FunnelGuard does not check colour contrast yet; it is a possible future check. It does run your real journeys to check that buttons, forms and tracking work. Use Lighthouse or axe DevTools for contrast.
Related issues
- OPS-371Not meeting WCAG 2.2 AA (ADA lawsuit exposure)Fix guide
- OPS-372European Accessibility Act (June 2025) non-compliance for e-commerceFix guide
- OPS-373Form fields without labelsFix guide
- OPS-375Keyboard trap in checkout or modalFix guide
- OPS-377Missing alt text on key imagesFix guide
- OPS-380Error messages not announced to screen readersFix guide