Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Low colour contrast on CTA buttons: how to find and fix it

OPS-376Medium impactCould addBy FunnelGuardPublished Updated
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.

WCAG 2.2 AA contrast minimums that apply to CTAs
What you testMinimum ratioWCAG criterion
Button label, normal size4.5:11.4.3 Contrast (Minimum)
Button label, large (about 24px, or 18.66px bold, and up)3:11.4.3 Contrast (Minimum)
Button edge or fill against the page, if you need it to see the button3:11.4.11 Non-text Contrast
Hover, focus and disabled-looking statesSame rules for text; focus indicator 3:11.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.

Same button, two contrast levels

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
CTA click rate by contrast levelExample numbers
CTA click rate by contrast level (example)2:1 contrast: 3.1 % of visitors clicking; 3:1 contrast: 3.6 % of visitors clicking; 4.5:1 contrast: 4.2 % of visitors clicking; 7:1 contrast: 4.4 % of visitors clicking0233.13.64.24.42:1 contrast3:1 contrast4.5:1 contrast7:1 contrast% of visitors clicking

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

Test your CTA colours
  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. Check buttons over images or gradients

    Test the lightest and darkest part of the background behind the button, on desktop and mobile crops.

  6. 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.

Change the button colours by platform
  1. 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.

  2. 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.

  3. 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.

Accessible CTA button stylescss
.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

Confirm checklist
  • 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.

Prevention habits
  • 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.

Where low contrast hurts the funnel
  1. Visitor landsPage loads fine
  2. Looks for CTAButton blends into the background
  3. Clicks buttonNever happens
  4. Form or checkoutNever reached
  5. Lead or saleLost

The visitor lands, but never notices the button, so every later step is lost.

Try it: button contrastInteractive
Low contrast CTA

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.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.