27 Colour Contrast in Pressbooks

Colour contrast is the contrast value of two adjacent colours. Sufficient colour contrast is very important to improve accessibility, and can be difficult to evaluate without using a tool.

This often refers to the colour contrast of the text against the background on a page, but can also be applied to visual elements such as graphics, charts, and graphs.

Web Content Accessibility Guidelines (WCAG) 2.0 AA Colour Contrast Requirements

  • Text must (AA) have a contrast of at least 4.5:1 for body text and 3:1 for headings.
  • Text should (AAA) have a contrast of at least 7:1 for body text and 4.5:1 for headings.
  • Adjacent colours within graphics should (2.1 AA) have a contrast of at least 3:1. 
  • Colour must (AA) not be used to convey meaning. For example, if colour is used in a legend, additional information such as labels or symbols should also be used.

How to Check the Colour Contrast of your Page

  • Obtain the hex colour codes (for example, white is #FFFFFF) of the colours you would like to check.
  • Use a free colour contrast checker, such as color.review, to obtain the contrast for your colours.
    • If your background colour is white, the hex code should be #FFFFFF. If your background colour is black, the hex code should be #000000.
    • If you would like to share the results of your colour contrast check, copy the link at the top right of the page.
  • There are also several free applications, such as Colour Contrast Analyser, for checking colour contrast that do not require a hex code to check contrast.
    • To obtain a colour’s hex code with this application, use the dropper tool (second from the right) in order to “pick up” the colours you would like to compare.
    • If you are using more than one monitor, this application may have difficulties checking the colours of elements that are not on the same monitor as the checking tool.

Color review website with McMaster's maroon on white. Colour contrast analyser with McMaster Maroon on white.

McMaster Brand Colour Comparisons

  • If you are using McMaster brand colours together, it is very important to check the contrast of those two colours if their contrast is not provided below.
  • It is recommend to aim slightly above AAA or AA contrast to account for differences in monitors or poor internet connections.
  • Achieving AAA contrast will also prevent the need for further remediation at a later date when legislative guidelines change.
  • The “Highlights” colours should not be used on white unless they are being used for decorative purposes only.

WCAG 1.4.6 Contrast (Enhanced) AAA – on White

  • Heritage Maroon (7A003C): 11 (Pass AAA Headers, AAA Text)​​
  • Heritage Gold (FDBF57)1.6 (Fail)​​
  • Heritage Grey (5E6A71): 5.5 (Pass AAA Headers, AA Text)​​
  • Brighter World Red (A6192E): 7.5 (Pass AAA Headers, AAA Text) ​​
  • Brighter World Green (007B4B): 5.1 (Pass AAA Headers, AA Text) ​​
  • Brighter World Blue (007096): 6 (Pass AAA Headers, AA Text) ​​

WCAG 1.4.6 Contrast (Enhanced) AAA – on Black

  • Heritage Maroon (7A003C): 2.7 (Fail)​​
  • Heritage Gold (FDBF57): 12.7 (Pass AAA Headers, AAA Text)​​
  • Heritage Grey (5E6A71): 3.7 (Fail)​
  • Brighter World Red (A6192E): 2.7 (Fail) ​​
  • Brighter World Green (007B4B): 3.9 (Pass AA Headers, Fail Text) ​​
  • Brighter World Blue (007096): 3.7 (Pass AA Headers, Fail Text)

License

Accessible Digital Content Training Copyright © by Jessica Blackwood and Kate Brown. All Rights Reserved.

Share This Book