Color
You can use hues, shades and patterns to improve communication and decision-making.
Principles
Accessibility
Don’t rely on color alone to convey information. Colors that are used need a contrast ratio of at least 4.5:1 to adhere to WCAG 2.0 AA criteria 1.4.3.
Highlight changes
When new content is added to the page (such as form elements or information), temporarily highlight the background of the changed area of the page using a transition that fades the color away after a few seconds.
Reinforce meaning
Associate a single color with objects or states that have similar meanings to reducce the cognitive load on users. For example, use blue to consistently indicate an action. Whenever possible, leverage the following color palettes to reinforce meaning:
Color | Usage |
---|---|
Blue | Actionable elements, such as links, buttons, select tables. |
Teal | Relevant but non-critical information. |
Yellow | Warnings or critical changes that suggest future interaction. |
Red | Error messages and conditions that block a task from completion. |
Green | Success messages to indicate a task was completed. |
Term color palette
Colors are mapped to the seasons to reflect common North-American associations with weather as follows: brown fall, blue winter, green spring, yellow summer. This strategy allows for each color to be used for sub terms within a season. In some cases we have implemented a solution where the color of term is based on a gradient. Depending on where the term lies, the color can be a shade lighter or darker. In cases where this logic will not work, use the colors defined.
-
Fall
@color-Fall #8b4600
-
Winter
@color-Winter #23fafa
-
Spring
@color-Spring #94ec0f
-
Summer
@color-Summer #fef200
State color palette
While each type of data object will likely have its own label and flow for its state management, there are five general state groups that are color-coded to hold consistent meaning across objects. These state groups leverage the message color palette.
-
Draft
Initial state immediately after creating the item (e.g. Draft, Not Started, Unscheduled).
@color-Draft #999
-
Ready
Preparatory state with item awaiting review (e.g. Approved, Planned, In Progress, Unscheduled, Pending, Not Generated, Open, Final Edits, Publishing).
@color-Ready #3a87ad
-
Completed
Finished item now in use. No further changes expected (e.g. Offered, Official, Completed, Scheduled, Active, Generated, Published).
@color-Completed #468847
-
Canceled
Discarded item, with no intent to use in the future (e.g. Canceled, Error, Closed).
@color-Canceled #b94a48
-
Suspended
Item on hold, not in use but may be in the future (e.g. Suspended, Superseded, Exempt, Inactive, Locked, Retired).
@color-Suspended #f89406