As a web design agency, we recommend fast, accessible and usable sites to our clients. When we measured our own site, we found this: on the four pages we measured, performance was 100, but accessibility was 97, and 92 on one tool page. The scores weren’t bad, but behind the missing 3 and 8 points was a problem that affects real people: some text wasn’t readable enough.
In this article we describe our measurement, how 71 errors turned out to come from only five color pairs, how we fixed them and how each fix changed the contrast ratio. We don’t explain separately what accessibility is or why it matters; the focus is what we did on our own site. You can apply the same method to yours.
Starting Measurement: Performance 100, Accessibility 97

For measurement we ran Lighthouse on our local computer with Chrome, in mobile view. We chose four page types from the live site: the home page, a blog post, a service page and a free tool page (VAT calculator). Because the daily quota on PageSpeed Insights’ own API was full, we switched to local Lighthouse; the results are from the same tool.
| Page | Performance | Accessibility | Best practices | SEO |
|---|---|---|---|---|
| Home page | 100 | 97 | 100 | 100 |
| Blog post | 100 | 97 | 100 | 100 |
| Service page | 100 | 97 | 100 | 100 |
| Tool page (VAT) | 100 | 92 | 100 | 100 |
There was nothing to do on performance: load times in the lab measurement were between 1.1 and 1.5 seconds, and total blocking time and layout shift were zero. These figures are a lab simulation; real user data can differ. The real work was in accessibility.
One warning: the Lighthouse accessibility score is an automated audit that only checks issues that can be detected automatically. A score of 100 does not mean a site is fully accessible; we cover that separately below.
The Real Problem: Color Contrast

The audit that failed on all four pages was “color contrast.” At WCAG level AA, the Web Content Accessibility Guidelines require a contrast ratio of at least 4.5:1 between text color and background for normal-size text; for large text the limit is 3:1. As the ratio drops, text becomes hard to read, especially for people with low vision, people using a phone in bright light or people reading with tired eyes.
The breakdown was: 15 elements failed on the home page, 15 on the post, 24 on the service page and 17 on the tool page, 71 in total. In addition, two input fields on the tool page had no label. When we grouped the 71 failing elements by color pair, we realized the job was much smaller than it looked:
| Color pair | Failing elements | Measured ratio |
|---|---|---|
| Gray (#737373) on a dark background (#171717) | 37 | 3.78 |
| Orange text (#c2410c) on a light orange badge background | 24 | 4.31 and 4.48 |
| White text on WhatsApp green (#25d366) | 4 | 1.98 |
| Small light green text on WhatsApp green | 4 | 1.70 |
| Gray (#737373) on a light background (#f8f2f0) | 2 | 4.27 |
So we reduced 71 errors to five color decisions. That is an important lesson: contrast errors are often not a single-page problem but the repetition of one design choice everywhere. If you fix them at the right place, one change saves dozens of elements.
Six Fixes and the Result of Each

We made the fixes one at a time, based on where each color pair sits in the design. We also calculated the ratios separately with the WCAG relative luminance formula, so we knew the result before the change:
- Gray text on dark backgrounds (footer, breadcrumbs, author label). We lightened the gray by one step (from neutral-500 to neutral-400). The ratio went from 3.78 to 7.11.
- Small gray labels on light backgrounds (price period, labels such as “Founded”). We darkened the tone by one step (from neutral-500 to neutral-600). The ratio went from between 4.27 and 4.37 up to 7.05.
- Badge background. The background of the orange badge text was a tone of about 10% intensity of the accent color. We lowered the intensity to about 6%; the background got lighter, the difference from the text grew, and the ratios of 4.31 and 4.48 rose above the 4.5 threshold (Lighthouse no longer reports an error for these elements).
- The green on WhatsApp buttons. We darkened the background of the white-text button from #25d366 to #0f8048. The ratio went from 1.98 to 5.0.
- The small description text on the green button. We changed the 80% transparent white text to full white. The ratio went from 1.70 to 5.0.
- Unlabeled input fields on the tool page. There was visible text beside the two fields in the VAT calculator but it wasn’t associated with the fields. We added
aria-labelto the fields (“Amount excluding VAT,” “Amount including VAT”); screen readers now say what each field is.
The fixes came to a change of 19 lines across 10 files. None changed the page layout; we only changed colors and one label.
A Trade-Off: Brand Color or Readability?

WhatsApp green (#25d366) is the brand’s recognizable color; darkening the background moves the button away from the official tone. That was a trade-off. The alternative was keeping the green and making the text dark: the ratio of dark text on #25d366 is 9.38, which is higher. We chose white text and a darker green because the other buttons on the site also have white text and consistency mattered to us.
There is no right answer in decisions like this; what matters is to make the decision knowingly and note the trade-off. We didn’t change the shape of the icon on the button; we only fixed the relationship between background and text.
Result: 100 on 10 Page Types
After the fixes we didn’t limit the check to four pages; we measured ten page types: home page, blog post, service page, VAT tool, blog list, city page, contact, free tools list, SEO consulting and a local blog post. In the first round four came out at 100. In the second round the blog list stayed at 97: three small labels had the same gray problem. We applied the same gray tone rule (fix 2) to those labels and that page also reached 100.
A note: we ran the post-fix measurements on a local server before going live. Repeating the same measurement on the live site is a good habit, because things like caching, third-party scripts and a cookie notice may not appear in the local environment. All measurements were made on the light background; we did not measure the dark theme separately.
What Lighthouse Doesn’t Show
A score of 100 is not a finish line but a baseline. Things Lighthouse can’t check automatically but that are critical for accessibility include:
- Keyboard use: can you reach every link and button with the Tab key and see where the focus is?
- Screen reader experience: does the page read in a meaningful order with a screen reader?
- Quality of image descriptions: the presence of alt text is checked automatically, but whether the text is meaningful is not.
- Logic of the heading structure: does the H1-H2-H3 order describe the page’s topic correctly?
- Motion and animation: can moving elements be paused for users who are bothered by motion?
- Touch targets on mobile: are buttons large enough to tap easily? For other aspects of the mobile experience, see mobile SEO.
A short test with a real user or a screen reader catches what the automated tool can’t see. For auditing your site’s overall user experience, use the method in test your site like a customer: a 10-step mystery customer tour, and for speed and interaction metrics see what are Core Web Vitals.
How to Apply This on Your Own Site
- Measure. Run Lighthouse in mobile view (in Chrome’s developer tools or on the command line); choose the home page, a content page, a service and a form page.
- Group the failing elements. Count not each error individually but by text color and background color pair; a few pairs explain most errors.
- Fix in the design language. Instead of changing colors page by page, change them in a design variable or utility class so a single change fixes everything.
- Calculate the ratio beforehand. There are free tools that calculate the contrast ratio from the relative luminance of two colors; check that it is above 4.5 and then apply it.
- Measure again. Add other page types too; problems not visible in the first round may appear in the second.
- Check manually. Do a short test with a keyboard and a screen reader.
- Make measurement a habit. Repeat the same check whenever you add a new component or color.
If you want a comprehensive design and technical audit of your site, see our web design service.
Common Mistakes
- Treating the score as the goal: a score of 100 is useful, but the real user’s experience is a separate question.
- Fixing page by page: the same color pair repeats in dozens of places; fix it at the root.
- Forgetting small text: labels and footnotes of 11-12 pixels are where contrast most often breaks.
- Ignoring transparent colors: white text at 80% transparency can give a much lower ratio than expected depending on the background.
- Measuring only the light theme: on sites with a dark theme, both themes need separate checks.
- Mistaking a visual label for a real one: text beside a field is invisible to a screen reader unless it is programmatically associated with the field.
Frequently Asked Questions
Does a Lighthouse accessibility score of 100 make a site fully accessible?
No. Lighthouse only checks issues that can be detected automatically. Keyboard use, screen reader experience and content quality need manual checks.
What should the contrast ratio be?
At WCAG AA, at least 4.5:1 is required for normal-size text and at least 3:1 for large text. For the higher AAA level, 7:1 is required for normal text. Some of our fixes went above 7, but our target was at least AA.
How do I calculate color contrast?
The relative luminance of the two colors is found with the formula WCAG defines; the ratio is the luminance of the lighter color plus 0.05 divided by the luminance of the darker color plus 0.05. Instead of doing this by hand, you can use contrast calculators or the browser’s developer tools.
What if my brand color doesn’t pass the contrast rule?
There are three options: adjust the tone of the color slightly darker or lighter, change the text color, or use the color only for large text and decorative elements. Which trade-off you choose depends on your brand; what matters is choosing knowingly.
Does accessibility contribute to SEO?
We don’t treat it as a direct ranking signal; however, a site that is readable, well structured and easy to use improves the user experience, and that can indirectly show up in conversions. We don’t claim anything certain without measuring the effect.
How long did these fixes take?
A short working session covered measurement, grouping and fixing. How short it was shows that the errors came from a few design decisions; if the problem had been scattered page by page, it would have taken far longer.





