Carnegie
Mellon University
Color Palette

WCAG Compliant Colors

We are working towards designing a AAA compliant site. The constraints are significant, but the value is immense.

Font Colors

To highlight a word or phrase you may want to use a colored font. For fonts, WCAG sets very high standards for contrast ratios. Choosing a color that keeps a minimum font-background contrast is critical, for example, when using a projector on a bright room.

If you can assume a background, you can use this color contrast check tool to evaluate your color choices.

Sometimes, though, the background may be out of our control. For example, when embedding, printing, or accessing the content through a specialized browser. In these cases, there are only 26 (256-bit) colors that meet the strictest contrast standards. These are:

#CC3300 The quick brown fox The quick brown fox The quick brown fox
#CC3333 The quick brown fox The quick brown fox The quick brown fox
#CC0000 The quick brown fox The quick brown fox The quick brown fox
#CC0033 The quick brown fox The quick brown fox The quick brown fox
#CC0066 The quick brown fox The quick brown fox The quick brown fox
#CC0099 The quick brown fox The quick brown fox The quick brown fox
#9900FF The quick brown fox The quick brown fox The quick brown fox
#9900CC The quick brown fox The quick brown fox The quick brown fox
#9933CC The quick brown fox The quick brown fox The quick brown fox
#993366 The quick brown fox The quick brown fox The quick brown fox
#993399 The quick brown fox The quick brown fox The quick brown fox
#6633FF The quick brown fox The quick brown fox The quick brown fox
#6600FF The quick brown fox The quick brown fox The quick brown fox
#3333FF The quick brown fox The quick brown fox The quick brown fox
#0066CC The quick brown fox The quick brown fox The quick brown fox
#3366CC The quick brown fox The quick brown fox The quick brown fox
#336699 The quick brown fox The quick brown fox The quick brown fox
#006699 The quick brown fox The quick brown fox The quick brown fox
#336666 The quick brown fox The quick brown fox The quick brown fox
#006666 The quick brown fox The quick brown fox The quick brown fox
#336633 The quick brown fox The quick brown fox The quick brown fox
#336600 The quick brown fox The quick brown fox The quick brown fox
#666600 The quick brown fox The quick brown fox The quick brown fox
#666633 The quick brown fox The quick brown fox The quick brown fox
#666666 The quick brown fox The quick brown fox The quick brown fox
#666699 The quick brown fox The quick brown fox The quick brown fox

You can produce a high-contrast message by inverting these colors.

Selecting Background Colors

Select light colors first. This heuristic helps limit the amount of hard contrast through the page, resulting in a more fluid design.

The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox jumped over the lazy dog
The quick brown fox jumped over the lazy dog
The quick brown fox jumped over the lazy dog
The quick brown fox jumped over the lazy dog
The quick brown fox jumped over the lazy dog
The quick brown fox jumped over the lazy dog

Readable High Saturation

The quick brown fox jumped over the lazy dog
The quick brown fox jumped over the lazy dog
The quick brown fox jumped over the lazy dog
The quick brown fox jumped over the lazy dog
The quick brown fox jumped over the lazy dog

Negative Contrast

This choice is very disruptive. Content that serves the primary goal on a page should be in positive contrast. Content that serves a secondary goal should not be calling that much attention to itself. You should rarely need to use this combination. Make sure when you do that the situation really requires it.

The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox
The quick brown fox jumped over the lazy dog
The quick brown fox jumped over the lazy dog
The quick brown fox jumped over the lazy dog
The quick brown fox jumped over the lazy dog
The quick brown fox jumped over the lazy dog
The quick brown fox jumped over the lazy dog

Warning: Color suggestions below have not been tested against WCAG compiance.

Use with caution when applying to student related materials. We plan to review and update this document in due time.

Page Elements

The following list of colors can be used as a starting point to create page elements such as titles, pullouts, highlights, etc.


Suggested use
Element /
Block Border
Light /
Block Background
Dark /
Solid Background
Highlight /
Inline/Alerts
Mid-light
Blueberry color="#128ab3" color="#d1def0" color="#002d4d" color="#8abee5" color="#71b9d1"
Spinach color="#6cab13" color="#d8f0d1" color="#304d08" color="#95b36b" color="#e3ff75"
Braeburn color="#a62900" color="#f0e3d1" color="#731d00" color="#cc8066" color="#d2947f"
Yam color="#cc6600" color="#f0efd1" color="#733900" color="#e6a15c" color="#ffcb3f"
Mustard color="#ccaa00" color="#ebf0d1" color="#737300" color="#e6cb45" color="#ffff3f"
Charcoal color="#66727a" color="#e1e5f0" color="#292f33" color="#9aa1a6" color="#cbe3f3"

Examples

Elements

1 2 3 4 5 6

Highlights

I named the colors after some yummy ingredients from my kitchen.

I named the colors after some yummy ingredients from my kitchen.

I named the colors after some yummy ingredients from my kitchen.

I named the colors after some yummy ingredients from my kitchen.

I named the colors after some yummy ingredients from my kitchen.

I named the colors after some yummy ingredients from my kitchen.

Article Callouts

Article callouts should go between regular paragraph like this one.

“The default style is class="callout"”
- Carlos the III

Article callouts should go between regular paragraph like this one.

“Improvement in Post Secondary Education will require converting teaching from a ‘solo sport’ to a community based research activity.”
- Herbert Simon

Article callouts should go between regular paragraph like this one.

“Improvement in Post Secondary Education will require converting teaching from a ‘solo sport’ to a community based research activity.”
- Herbert Simon

Article callouts should go between regular paragraph like this one.

“Improvement in Post Secondary Education will require converting teaching from a ‘solo sport’ to a community based research activity.”
- Herbert Simon

Article callouts should go between regular paragraph like this one.

“Improvement in Post Secondary Education will require converting teaching from a ‘solo sport’ to a community based research activity.”
- Herbert Simon

Article callouts should go between regular paragraph like this one.

“Improvement in Post Secondary Education will require converting teaching from a ‘solo sport’ to a community based research activity.”
- Herbert Simon

Article callouts should go between regular paragraph like this one.

Blocks - Objectives

Charcoal is what happens sometimes after I use them!

Charcoal is what happens sometimes after I use them!

Charcoal is what happens sometimes after I use them!

Charcoal is what happens sometimes after I use them!

Charcoal is what happens sometimes after I use them!

Charcoal is what happens sometimes after I use them!

Notices -Tips

Spinach leaves do not have intestines.
Spinach leaves do not have intestines.
Spinach leaves do not have intestines.
Spinach leaves do not have intestines.
Spinach leaves do not have intestines.
Spinach leaves do not have intestines.

Sections - Areas

Blueberries offer less antioxidants per dollar than red cabbage, but they are so good in smoothies.
Blueberries offer less antioxidants per dollar than red cabbage, but they are so good in smoothies.
Blueberries offer less antioxidants per dollar than red cabbage, but they are so good in smoothies.
Blueberries offer less antioxidants per dollar than red cabbage, but they are so good in smoothies.
Blueberries offer less antioxidants per dollar than red cabbage, but they are so good in smoothies.
Blueberries offer less antioxidants per dollar than red cabbage, but they are so good in smoothies.

Alerts - Warnings

SURGEON GENERAL'S WARNING: Charcoal Is Not A Safe Alternative To Cigarettes.
Here the border/background use the "element"/"highlight" colors to create greater contrast while staying within the palette.
SURGEON GENERAL'S WARNING: Charcoal Is Not A Safe Alternative To Cigarettes.
Here the border/background use the "element"/"highlight" colors to create greater contrast while staying within the palette.
SURGEON GENERAL'S WARNING: Charcoal Is Not A Safe Alternative To Cigarettes.
Here the border/background use the "element"/"highlight" colors to create greater contrast while staying within the palette.
SURGEON GENERAL'S WARNING: Charcoal Is Not A Safe Alternative To Cigarettes.
Here the border/background use the "element"/"highlight" colors to create greater contrast while staying within the palette.