When typesetting, colour contrast must be taken into consideration. This is especially important for people with a visual impairment. The contrast between font colours and background colours, both on the web and in print, can impact on legibility, especially for those with a visual impairment.
When designing your materials, make sure that text is legible against the background, with a high enough contrast between the two to easily differentiate. Black or white text is preferable, depending on legibility.
The guidance below shows what combinations meet either AA or AAA levels of accessibility according to Web Content Accessibility Guidelines (WCAG).
Web Content Accessibility Guidelines (WCAG) explains how to make web content more accessible to people with disabilities. WCAG covers web sites, applications, and other digital content. It is developed by the World Wide Web Consortium (W3C) Web Accessibility Initiative (WAI). WCAG is an international standard.
There are three levels of conformance:
Level A is the minimum level.
Level AA includes all Level A and AA requirements. Many organisations strive to meet Level AA.
Level AAA includes all Level A, AA, and AAA requirements.