How to properly implement Colour Contrast accessibility on your website

Published By:

two elderly people looking at mobile phone screen

Colour contrast is an overlooked aspect of web design. Beyond mere aesthetics, getting colour contrast right is what makes your content readable, removing accessibility barriers for disabled users, especially for those with visual impairments. It could be, and often is, the difference between a customer churning in favour of a competitor with more accessible content, and the same customer sticking around to become one of your core followers. If you have a sneaky suspicion that your brand’s palette is not as accessible as it should be, or even if you just want to familiarise yourself with the laws around colour contrast, then this article is for you.

What is colour contrast?

Simply put, colour contrast refers to the difference in brightness and hue between text or other visual elements, and their background. It follows that the greater the contrast, the easier it is to distinguish text from its background, making it more legible to readers.

Put another way, colour contrast is a measure of how different two colours are from one another. Consider black and white, for example. We all know black text reads well on a white background and vice versa, but why is that? It’s because black and white exist on complete opposite ends of the colour spectrum, exhibiting a stark contrast that stands out to the human eye when superimposed or even placed next to each other.

It is important to note that colour contrast is typically given as a ratio, whereby the higher the ratio, the higher the contrast. For example, black text on a white background yields a colour contrast of approximately 21:1, whereas yellow text on a white background returns 1.07:1. This is crucial to understand as accessibility regulations, such as the Web Content Accessibility Guidelines (WCAG), often stipulate their colour contrast requirements in terms of ratios.

Detect Colour Contrast and Accessibility issues on your Website

Detecting accessibility issues has never been easier than it is now. At Recite Me we offer a free automated scan of your websites homepage. This will identify and highlight any non-compliance on your website including colour contrast issues. Followed by recommendations on how to implement the necessary changes to improve your websites accessibility score and standing.

Why is colour contrast accessibility important?

There are a seemingly endless number of reasons why you would want to implement accessible colour contrasts throughout your website or digital platform. Perhaps the most obvious is the need to comply with accessibility laws, which we’ll come on to later. But beyond mere compliance, ensuring colour contrast accessibility goes a long way towards tearing down barriers to inclusion for disabled individuals. It is how you go about building an online space that is revered by your customers and competitors alike.

To put this in terms of numbers, globally, approximately 2.2 billion people have a vision impairment of some kind. The vast majority of these individuals rely on assistive technologies and accessible web design in order to navigate web pages and carry out day-to-day tasks. By ignoring colour contrast best practices, you risk alienating this portion of your audience, driving users away from your digital products or services towards those flaunted by your more accessible competitors. After all, why would anyone stay somewhere where they feel unwelcome?

But ultimately, there are a whole host of different accessibility strategies you could implement, so why focus on colour contrast? Well, for one, making your website’s colour contrast accessible is an easy way to address a problem that 295 million people, who live with mild vision loss, face — struggling to accurately distinguish between various web page elements.

Even for well-sighted users, this can sometimes be a challenge. So, prioritising your time and resources on this one, easy-to-implement strategy, is a good place to start. It allows you to have a meaningful impact on your business’s overall accessibility.

Australian Accessibility laws on Colour Contrast

In Australia and New Zealand, there are various accessibility laws and standards that you should look out for relating to colour contrast accessibility. The most prominent laws include the Web Content Accessibility Guidelines and the Disability Discrimination Act. Let’s take a closer look at each:

Web Content Accessibility Guidelines (WCAG)

The Web Content Accessibility Guidelines (WCAG), developed by the World Wide Web Consortium (W3C), provide a comprehensive set of global standards for creating accessible web content. These guidelines aim to make websites usable for individuals with a range of disabilities, including those with visual impairments. One way it achieves this is by outlining specific criteria for things like the colour contrast between text and its background, making content easier to read for those with low vision or colour blindness.

These contrast requirements not only help visually-impaired users distinguish between text and background, but they enhance the overall browsing experience for everyone. While WCAG is not legally binding, it serves as the technical foundation for the digital aspects of many accessibility laws, including the Disability Discrimination Act (DDA).

Disability-Discrimination-Act-Hero

Disability Discrimination Act (DDA)

Australia’s Disability Discrimination Act (DDA) of 1992 requires businesses and organisations to provide equitable access to their goods and services for people with disabilities. Though the DDA doesn’t specifically reference WCAG, the Australian Human Rights Commission (AHRC) has published advisory notes which reference WCAG as the accepted standard for achieving web content accessibility.

In practical terms, ensuring your website meets WCAG colour contrast standards can help prevent discrimination claims under the DDA. Inadequate contrast between text and background colours could be considered a barrier to access for individuals with visual impairments, leaving businesses vulnerable to litigation. Adopting WCAG best practices, therefore, can take you a considerable way to ensuring compliance with the digital aspects of DDA.

What are the required WCAG standards for colour contrast?

The WCAG outlines three different levels of conformance, Level A, AA, and AAA, where A is the lowest level of conformance and AAA is the highest. Each level has its own requirements for the different aspects of accessibility. The requirements for colour accessibility are as follows:

  • Level A: Level A conformance requires that colours are not used as the only visual means of conveying information. For example, to indicate an action or to prompt a response, the colour red should be used alongside a text pop-up explaining what to do.
  • Level AA: Level AA conformance states that normal-sized text and images should possess a minimum colour contrast ratio of 4.5:1, while large text (headers of font size 18pt or 14pt bold) should have a ratio of at least 3:1.
  • Level AAA: Level AAA conformance requires a significantly higher standard of colour contrast — at least 7:1 for normal text and images, and 4.5:1 for large text.

For most accessibility laws, businesses are required to achieve a minimum of Level AA conformance. Those who wish to go above and beyond can strive for Level AAA conformance, which is especially recommended if your target audience is elderly or is known to have low vision.

Actionable tips to help with website colour accessibility

Knowing you need to follow guidelines is one thing, but knowing how to follow said guidelines is another thing altogether. This section takes the WCAG’s colour contrast requirements and translates them into actionable steps that you can start implementing immediately.

Test with real users

One of the most effective ways to ensure that your brand’s palette is accessible is by testing it with real users who have visual impairments. This involves forming user groups and allowing them to explore the full functionality of your website, where they note down any areas that give them trouble, and return this feedback to you in a constructive way. This is different to testing for technical compliance, as it gives an insight into how your website performs under real-world conditions, in spite of laws and regulations.

Underline any hyperlinked text

Underlining hyperlinks is a simple yet effective way to ensure that users can easily identify clickable text. While some web designs use colour alone to distinguish links, adding an underline provides that extra layer of accessibility, making it clear to those who may not perceive the colour difference.

Avoid relying solely on colour to convey information

Colour should never be the only means of distinguishing important information from standard information. If a form entry is highlighted in red, it is not immediately clear that there is an error. Include a text-based alert or error message alongside the incorrect form entry, such as “Please fill in this field”. This not only clarifies any ambiguity, it ensures that users with colour blindness, who may not be able to see the colour red, can still perceive that there is an issue with their form entry.

Online Accessibility and Inclusion Toolkit

This year we published our Digital Inclusion Toolkit that was developed to help businesses make a real difference to the lives of the millions of people around the world who encounter online barriers. The 40 page document provides practical advice covering the complete landscape of online accessibility from how to write an accessibility statement to our top tips for providing an inclusive recruitment journey.

Tools to help your website be more colour accessible

At this point, you have all our best tips for implementing accessible colours and you’re equipped with the regulatory knowledge to avoid any mishaps. But just before you start rallying the troops, it’s worth considering some of the tools that are available on the market today and the role they could play in making your website more accessible for those with visual impairments. Among other things, tools are how you make sure the colours you are implementing are actually accessible.

Some tools, like Recite Me’s accessibility checker, provide automated auditing, where they scan your website for any inaccessible or non-compliant features. This helps you identify which areas need addressing and where to focus your time or resources. As such, if you or your web designer inadvertently uses an inaccessible colour combination across any of your web pages and their elements, this will get flagged by the software.

Colour contrast checkers are another type of tool that can be used to achieve a similar thing. They are used to manually check the contrast ratio of individual elements should you have suspicions about a particular web page section or image.

Alternatively, you can opt for an all-in-one accessibility tool, like Recite Me’s accessibility toolbar, which, among many other things, offers users the ability to customise website colours as they see fit. This option gives users ultimate control over their browsing experience, allowing them to change text colours, background colours, and even tint the screen to make certain elements stand out.

Related Content