How did you choose the colours for your last website update? Did you choose colours based on your brand logo and text or did you use the Web Content Accessibility Guidelines (WCAG) algorithm? But can the WCAG algorithm guarantee good legible colour contrasts for websites? Research by The University of Cambridge says it doesn’t. So they have developed an alternative algorithm for good colour contrast for websites.
The Accessible Perceptual Contrast Algorithm proposes that legibility of text on websites is better with perceived difference than a mathematical contrast ratio. White text on strong coloured backgrounds are preferred over black text in almost all cases in the study.
In the examples above, the black text passes the WCAG contrast ratio but fails the white text. The Accessible Perceptual Contrast Algorithm passes the white text and fails the black text.
Sam Waller explains this more fully in his article, Does the contrast ratio actually predict the legibility of website text?
As a result of this work, an early working draft of WCAG 3 proposes using the new method for calculating contrast.
This is important information for choosing brand logos and text so it isn’t just something web designers should know. Many website designs are guided by brand colours so choose carefully. This information is also important for product labelling especially for online shopping.
Colour contrast enhances usability
Using eye tracking and similar software, researchers investigated the way users read and access information on websites. They chose a travel website and a banking website for the research. The study found that the positioning of information and increased contrast enhanced the ability to find key elements on the website.
The article takes a universal design approach to the study, and uses eye tracking technology. The study found that regardless of website context, universal design principles are key to creating effective and accessible interfaces.
The title of the article is Usability analysis of graphical interfaces of travel websites according to the universal design principles.
Colour perception can vary across cultures
Anyone interested in optimal colours for web and phone might be interested in a project that came out of a colour matching game app. The game is based on colour perception. Feedback data showed designers how people perceive colour. With the help of academics they began to analyse the data in meaningful ways.
Preliminary analysis indicates there is a variation across countries. For example, Norwegians were better at colour matching than Saudi Arabians. Singaporeans struggled to identify greens, and Scandinavians did best with red-purple hues. Research papers are to follow which could lead to more inclusive colour choices. The article concludes,
“But the fruits of the project live on in open source. A generic version of Jose’s tools to query the Specimen dataset are hosted here on github. My greatest hope is other researchers find and make use of what was gathered, and that other designers and engineers consider leveraging play in unexpected ways”.
The title of the article on FastCompany website is, Our viral app made less than $1,000. We’d still do it again.
Picture courtesy FastCompany.