On this page

Palette

Six colour scales of twelve steps each, in light and dark. Every step has one job, so contrast is built in.

The palette is the raw material of every colour in Beehexa: six scales of twelve steps, each tuned for light and dark, and a translucent copy of graphite. Products never use it directly. It feeds the role tokens, which is why a button keeps its contrast in both themes.

The palette feeds the role tokens. Products use the role tokens, never a palette step directly. Hover a swatch to see its token name.

Light theme
Graphite
1FDFDFC
2F1F1F0
3E5E5E4
4D9D9D8
5CDCCCB
6BDBCBB
7AAA9A8
8949390
97B7976
105F5E5B
1142413F
12brand2B2A28
Yellow
1FEFDF4
2FFF9DD
3FFF1BD
4FFE59C
5FFD87C
6FFC757
7brandFCB017
8D68B00
9A96700
10905600
11764400
124A3015
Blue
1FBFDFF
2F4FAFF
3E6F4FE
4D5EFFF
5C2E5FF
6ACD8FC
78EC8F6
852A1E6
90077D5
100064B5
11005195
12113264
Green
1FBFEFC
2F4FBF6
3E6F6EB
4D6F1DF
5C4E8D1
6ADDDC0
78ECEAA
851AC7D
9008753
10007246
11005C3A
12193B2D
Orange
1FEFCFB
2FFF7ED
3FFEFD6
4FFDFB5
5FFD19A
6FFC182
7F5AE73
8DF8547
9BA4E00
10A74500
118A3600
12582D1D
Red
1FFFCFC
2FFF7F6
3FEEBE9
4FFDBD7
5FFCEC8
6FDBEB7
7F4AAA2
8EB7A71
9D83B39
10BA2D2D
119B1E20
12641817
Dark theme
Graphite
1181717
2201F1F
3282827
431302F
5393937
6454443
7555452
86B6A67
9878682
10A8A6A3
11CDCCC9
12EEEEED
Yellow
117130D
21D170F
332210A
4422902
5513304
661400C
774501C
89A6613
9BD7E1B
10DB9517
11brandFCB017
12F2DBA4
Blue
10D1520
2111927
30D2847
4003362
5004074
6104D87
7205D9E
81B6FC5
90088F1
103599FA
116BB3FA
12B8DCF5
Green
10E1512
2121B17
3132D21
4113B29
5174933
620573E
728684A
8207D54
91F9962
1037A971
115EC18A
12A6E5C0
Orange
117120E
21E160F
3331E0B
4462100
5562800
666350C
77E451D
8AB5315
9DB6200
10EF7200
11F5974E
12F1D2B4
Red
1191110
2201312
33B1310
450100F
5611716
6722421
78C3430
8BC403B
9EF4C48
10FF615A
11FF8E84
12FACDC8

What each scale is for

Scale For Never for
Graphite Everything without a meaning: text, icons, lines, surfaces, the primary button —
Yellow The brand: logo, current-page indicator, highlights, brand notes Text, buttons, warnings
Blue Info, links, the focus ring Decoration
Green Success Anything else
Orange Warning Anything else
Red Danger Anything else

There is no purple, pink or teal. Charts use the same scales. Before giving a chart colours of its own, talk to the design system team.

What each step is for

Every step has one job, the same in every scale.

Graphite
1
2
Tag3
Tag4
Tag5
6
7
8
Go9
Go10
Aa11
Aa12
Blue
1
2
Tag3
Tag4
Tag5
6
7
8
Go9
Go10
Aa11
Aa12
1–2 backgrounds · 3–5 component fills at rest, hover, pressed · 6–8 borders · 9–10 solid fills · 11–12 text.
  • Steps 1–2: page and surface backgrounds.
  • Steps 3–5: component backgrounds at rest, on hover and when pressed or selected.
  • Steps 6–8: borders and dividers, from subtle to strong.
  • Steps 9–10: solid fills, such as a button, and their hover.
  • Steps 11–12: text and icons. 11 is secondary, 12 is the default.

Graphite carries the neutral text, so its dark end has three text levels instead of two: 12 default, 11 secondary, 10 tertiary. Step 9 is the edge of a control and step 8 is disabled text.

Yellow is the one exception: its brand fill is step 7, the brand yellow, with graphite text on top. Products don’t use yellow for other fills or for text.

Light and dark

Every step has a light and a dark value under the same name.

color.graphite.12 is the text colour in both themes. The role tokens switch on their own, so a screen never picks a dark colour by hand. In dark, the solid fills (steps 9 and 10) are lighter than in light, so the text on them is dark: use text.on-bold.

Translucent graphite

color.graphite-alpha has the same twelve steps as graphite, as translucent black in light and white in dark. Laid over the page, step 3 looks like graphite 3; laid over a grey card, it darkens the card by the same amount. Below, each translucent step sits next to its solid step, on a checkerboard so the see-through part shows: black at the percentage shown in light, white in dark.

Light theme
Solid color.graphite
1FDFDFC
2F1F1F0
3E5E5E4
4D9D9D8
5CDCCCB
6BDBCBB
7AAA9A8
8949390
97B7976
105F5E5B
1142413F
122B2A28
Alpha color.graphite-alpha
1black 0%
2black 5%
3black 9%
4black 14%
5black 19%
6black 25%
7black 33%
8black 42%
9black 52%
10black 63%
11black 74%
12black 83%
Dark theme
Solid color.graphite
1181717
2201F1F
3282827
431302F
5393937
6454443
7555452
86B6A67
9878682
10A8A6A3
11CDCCC9
12EEEEED
Alpha color.graphite-alpha
1white 0%
2white 4%
3white 7%
4white 10%
5white 14%
6white 19%
7white 26%
8white 35%
9white 47%
10white 61%
11white 78%
12white 92%

The same step on different surfaces:

Pagegraphite.3graphite-alpha.3
Subtle surfacegraphite.3graphite-alpha.3
Neutral fillgraphite.3graphite-alpha.3
Menugraphite.3graphite-alpha.3
The same step on four surfaces. Solid graphite 3 vanishes on a surface that is graphite 3 itself (the neutral fill; in dark, the menu too). The translucent step darkens every surface by the same amount, or lightens it in dark.

It exists for one job: the hover and pressed fills of elements with no fill at rest, such as rows, menu items and Subtle buttons, which can sit on any surface (Interaction states, rule 2). Like the other scales, products reach it only through role tokens. The build checks that each step over graphite 1 matches its solid step.

Contrast you can count on

In both themes:

  • In blue, green, orange and red, text on a solid fill (steps 9 and 10) reaches 4.5:1 with text.on-bold: white in light, dark in dark.
  • Step 11 text reaches 4.5:1 on every background it is paired with.
  • In graphite, steps 10, 11 and 12 all reach 4.5:1 as text; step 9 reaches 3:1 as the edge of a control.

See Accessibility for the pairs.