Skip to content

Guidelines · Color

Every colour, and what it is for

The full palette, grouped by the job each colour does. A token is a named design value, like accent.signal.fill. Pick a colour here by its role, then use its token name in your work, never the raw colour value. Each card also shows its contrast ratio, a measure of how much the colour stands out from what it sits on. Every value and ratio is read live from the theme you're viewing, so switching the theme updates the whole page.

Signal, the brand colour

The one colour that means "act here". Everything else on the page is a grey, so wherever you see orange, it's an action, a highlighted row or the focus ring (the outline that shows where the keyboard is). Orange gets three roles because it's used three ways: as a fill, as text, and as the ink (text and icons) that sits on top of that fill.

accent.signal.fill
#d93e00

The one primary button on a page, checked controls, progress fills. Never a selected or current item.

4.42:1 on surface.base (#07080b, needs 3:1)
AaSample text
accent.signal.text
#ff5512

Orange text on the page: eyebrows (the small label above a heading), links, highlighted words.

6.26:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
accent.signal.ink
#fff

Text and icons placed on a signal fill, like a primary button label.

4.53:1 on accent.signal.fill (#d93e00, needs 4.5:1)
accent.signal.wash
#d93e001f

The faint tint that appears when you hover over a navigation item or an inactive tab. Text on it switches to text.primary. The focus ring and checked controls never sit on it.

No contrast requirement
focus.ring
#ff5512

The keyboard focus outline on every control.

6.26:1 on surface.base (#07080b, needs 3:1)

Surfaces

The background layers everything sits on. Depth comes from stepping between these and from hairlines (thin 1-pixel lines). Shadows aren't used for it.

surface.base
#07080b

The page itself.

No contrast requirement
surface.sunken
#0d1016

Recessed areas: form control fills, tag and tooltip backgrounds.

No contrast requirement
surface.selected
#202a38

Any selected, current or pressed item: a picked option, a segment, the current page, a pressed toggle. Neutral, never orange.

No contrast requirement
surface.raised
#2834456b

Panels and cards that sit above the page. It's see-through, so it tints whatever is under it.

No contrast requirement
surface.scrim
#0009

Dims the page behind a dialog, a sheet (a panel that slides in from the edge) or the command palette. Nothing under it can be clicked or focused while it's showing.

No contrast requirement

Text

Five greys, from the loudest to the quietest. Every one reaches a contrast ratio of at least 4.5:1 against the surface it's used on. That's the minimum WCAG (the Web Content Accessibility Guidelines) sets for normal-size text. So you pick a grey for how much it should stand out, and readability never suffers.

AaSample text
text.primary
#e9eef4

Headings, body copy, control values.

17.17:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
text.secondary
#a3adba

Supporting copy, ledes (the intro paragraph under a page title), navigation items when nothing is happening to them.

8.82:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
text.muted
#7b8592

Metadata (details like dates and counts), captions, eyebrows.

5.35:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
text.label
#6f7a88

Group labels over a list, like GUIDELINES and ATOMS in the sidebar.

4.59:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
text.placeholder
#747f8d

Placeholder text inside an empty field.

4.68:1 on surface.sunken (#0d1016, needs 4.5:1)

Borders

Hairlines are decoration, so they have no contrast requirement. The two control borders carry information: they're the only visible edge of an input or a checkbox. So each one has to reach 3:1 against the fill it surrounds.

border.hairline
#d6e2f029

Dividers and quiet panel edges.

No contrast requirement
border.hairline-strong
#d6e2f052

Section rules, panel frames, tag and tooltip edges.

No contrast requirement
border.control
#646b72

The boundary of inputs, selects, textareas and secondary buttons.

3.53:1 on surface.sunken (#0d1016, needs 3:1)
border.selection
#8a939e

The boundary of checkboxes, radio buttons and switches. It's a step brighter because the box is small.

6.12:1 on surface.sunken (#0d1016, needs 3:1)

Status

Four colours that report the state of something. Each has the same three roles as signal (fill, text and ink). Colour is never the only clue: every status also comes with a word or an icon.

accent.hostile.fill
#f33636

Errors, destructive actions, invalid fields. Always behind hostile ink text, which is the pair that is measured.

No contrast requirement
AaSample text
accent.hostile.text
#f55b5b

Hostile type on the page.

6.23:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
accent.hostile.ink
#0a0602

Text on a hostile fill.

5.19:1 on accent.hostile.fill (#f33636, needs 4.5:1)
accent.ok.fill
#2fb577

Success and healthy states. Always behind ok ink text, which is the pair that is measured.

No contrast requirement
AaSample text
accent.ok.text
#2fb577

Ok type on the page.

7.63:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
accent.ok.ink
#0a0602

Text on a ok fill.

7.69:1 on accent.ok.fill (#2fb577, needs 4.5:1)
accent.info.fill
#5aa7ff

Neutral notices. Always behind info ink text, which is the pair that is measured.

No contrast requirement
AaSample text
accent.info.text
#5aa7ff

Info type on the page.

8.02:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
accent.info.ink
#0a0602

Text on a info fill.

8.08:1 on accent.info.fill (#5aa7ff, needs 4.5:1)
accent.warning.fill
#ffac2a

Caution: something needs attention soon. Always behind warning ink text, which is the pair that is measured.

No contrast requirement
AaSample text
accent.warning.text
#ffac2a

Warning type on the page.

10.67:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
accent.warning.ink
#0a0602

Text on a warning fill.

10.76:1 on accent.warning.fill (#ffac2a, needs 4.5:1)

Severity scale

Six ordered steps, from 1 (lowest) to 6, for a measure that has more levels than the four status colours, like air quality from Good to Hazardous. Use it when the levels have an order and each needs its own colour; use a status colour when the state is simply good, bad or worth a look. The fills darken from green to maroon in both themes. Each step has the same three roles as a status (fill, text and ink), and a severity badge always carries the level's word: the colour is never the message on its own.

severity.1.fill
#2fb577

Step 1 of 6 (air quality: Good). The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
severity.1.text
#49d092

Step 1 type and outline on the page (a subtle badge).

10.22:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
severity.1.ink
#0a0602

Text on the step 1 fill.

7.69:1 on severity.1.fill (#2fb577, needs 4.5:1)
severity.2.fill
#ffbb52

Step 2 of 6 (air quality: Moderate). The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
severity.2.text
#ffcb79

Step 2 type and outline on the page (a subtle badge).

13.42:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
severity.2.ink
#0a0602

Text on the step 2 fill.

12.00:1 on severity.2.fill (#ffbb52, needs 4.5:1)
severity.3.fill
#f19300

Step 3 of 6 (air quality: Unhealthy for sensitive groups). The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
severity.3.text
#f19300

Step 3 type and outline on the page (a subtle badge).

8.50:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
severity.3.ink
#0a0602

Text on the step 3 fill.

8.57:1 on severity.3.fill (#f19300, needs 4.5:1)
severity.4.fill
#f33636

Step 4 of 6 (air quality: Unhealthy). The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
severity.4.text
#ff5512

Step 4 type and outline on the page (a subtle badge).

6.26:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
severity.4.ink
#0a0602

Text on the step 4 fill.

5.19:1 on severity.4.fill (#f33636, needs 4.5:1)
severity.5.fill
#ae0a0a

Step 5 of 6 (air quality: Very unhealthy). The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
severity.5.text
#f55b5b

Step 5 type and outline on the page (a subtle badge).

6.23:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
severity.5.ink
#fff

Text on the step 5 fill.

7.37:1 on severity.5.fill (#ae0a0a, needs 4.5:1)
severity.6.fill
#440404

Step 6 of 6 (air quality: Hazardous). The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
severity.6.text
#f78181

Step 6 type and outline on the page (a subtle badge).

8.02:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
severity.6.ink
#fff

Text on the step 6 fill.

16.60:1 on severity.6.fill (#440404, needs 4.5:1)

Category

Ten colours for labels people make themselves, like a project tag or a topic. A category colour means "these belong together", never good or bad, so it is never used for a status. Each has the same three roles (fill, text and ink), and a category badge always carries its label.

category.gray.fill
#9aa1ab

A solid gray label. The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
category.gray.text
#a3a9b3

Gray label text and outline on the page.

8.47:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
category.gray.ink
#0a0602

Text on the gray fill.

7.75:1 on category.gray.fill (#9aa1ab, needs 4.5:1)
category.brown.fill
#b98a64

A solid brown label. The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
category.brown.text
#c9a383

Brown label text and outline on the page.

8.63:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
category.brown.ink
#0a0602

Text on the brown fill.

6.62:1 on category.brown.fill (#b98a64, needs 4.5:1)
category.orange.fill
#f0913a

A solid orange label. The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
category.orange.text
#f0a060

Orange label text and outline on the page.

9.44:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
category.orange.ink
#0a0602

Text on the orange fill.

8.48:1 on category.orange.fill (#f0913a, needs 4.5:1)
category.yellow.fill
#e8c341

A solid yellow label. The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
category.yellow.text
#e6c65a

Yellow label text and outline on the page.

12.01:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
category.yellow.ink
#0a0602

Text on the yellow fill.

11.84:1 on category.yellow.fill (#e8c341, needs 4.5:1)
category.green.fill
#4fbf7a

A solid green label. The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
category.green.text
#6fcf8f

Green label text and outline on the page.

10.49:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
category.green.ink
#0a0602

Text on the green fill.

8.72:1 on category.green.fill (#4fbf7a, needs 4.5:1)
category.teal.fill
#3fbfb2

A solid teal label. The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
category.teal.text
#5ccfc4

Teal label text and outline on the page.

10.66:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
category.teal.ink
#0a0602

Text on the teal fill.

8.95:1 on category.teal.fill (#3fbfb2, needs 4.5:1)
category.blue.fill
#6fa3f5

A solid blue label. The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
category.blue.text
#7fb2ff

Blue label text and outline on the page.

9.26:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
category.blue.ink
#0a0602

Text on the blue fill.

7.92:1 on category.blue.fill (#6fa3f5, needs 4.5:1)
category.purple.fill
#a88af0

A solid purple label. The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
category.purple.text
#b59cf5

Purple label text and outline on the page.

8.62:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
category.purple.ink
#0a0602

Text on the purple fill.

7.27:1 on category.purple.fill (#a88af0, needs 4.5:1)
category.pink.fill
#ec84bb

A solid pink label. The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
category.pink.text
#f08fc4

Pink label text and outline on the page.

8.99:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
category.pink.ink
#0a0602

Text on the pink fill.

8.26:1 on category.pink.fill (#ec84bb, needs 4.5:1)
category.red.fill
#f07a7a

A solid red label. The same in both themes. Always behind its ink text, which is the pair that is measured.

No contrast requirement
AaSample text
category.red.text
#f58a8a

Red label text and outline on the page.

8.47:1 on surface.base (#07080b, needs 4.5:1)
AaSample text
category.red.ink
#0a0602

Text on the red fill.

7.47:1 on category.red.fill (#f07a7a, needs 4.5:1)

Ramps

Ramps are the raw colour scales, in steps from 50 to 950, that every token above is picked from. Components never use these directly. They use the role tokens, so a theme can point a role at a different colour without anyone touching a component. They're shown here so you can see where each role sits on its scale.

signal
50
100
200
300
400
500
600
700
800
900
950
neutral
50
100
200
300
400
500
600
700
800
900
950
hostile
50
100
200
300
400
500
600
700
800
900
950
ok
50
100
200
300
400
500
600
700
800
900
950
info
50
100
200
300
400
500
600
700
800
900
950
warning
50
100
200
300
400
500
600
700
800
900
950