On this page

Color

Colour tells people what matters, what happened and where they are. Beehexa colour is calm graphite, a touch of brand yellow and four colours for status.

A screen full of colour tells people nothing. Beehexa screens are mostly graphite and white, so the few colours left carry meaning: yellow for the brand, and red, orange, green and blue for status. When a sync fails, the red is the first thing people see.

You never pick a colour by its value. You pick a token by its job, such as color.text or color.background.danger.bold, and it is right in light and in dark.

A typical screen, roughly: mostly white and light grey, graphite for text and the primary button, a touch of yellow for the brand, and status colours only where there is a status.

Brand colours

Yellow
color.brand.yellow#FCB017 · RGB 252 176 23Fills, indicators and highlights, always with graphite text on top. Never text or icons on a light background.
Graphite
color.brand.graphite#2B2A28 · RGB 43 42 40Text, the primary button and dark brand surfaces. Step 12 of the graphite scale.
White
color.brand.white#FFFFFF · RGB 255 255 255Page and card background in the light theme; text on dark fills.

Palette

Six scales of twelve steps, in light and dark. The brand graphite is graphite 12 in light; the brand yellow is yellow 7 in light and yellow 11 in dark. See every value in Palette.

Light: graphite, yellow, blue, green, orange, red
Dark: graphite, yellow, blue, green, orange, red

How colour works

Colour comes in three tiers. You only ever use the middle one.

Tier Example Who uses it
Palette color.graphite.11 Nobody directly. It feeds the role tokens.
Role tokens color.text.subtle Every product and component.
Component tokens color.code.background Only where no role fits.

Role tokens are listed in Tokens; how to pick one is in Usage.

Principles

Graphite does the work, yellow is the accent

Text, icons, lines and the primary button are graphite. Yellow is only the logo, the current-page indicator, highlights and brand notes. It is never text and never a button: it is 1.85:1 on white. The current-page bar uses a darker yellow in light (color.yellow.9, 4.54:1 on white) so it stays visible; dark uses brand yellow.

Do
ConnectionsJobsLogs

Graphite text; yellow only for the current-page bar.

Don’t

Yellow text or links: 1.85:1 on white, unreadable.

Colour means something

Red, orange, green and blue mean danger, warning, success and info. Don’t use them to decorate or to draw attention.

Do
Failed

Red for something that failed.

Don’t
New

A status colour used for decoration or emphasis.

Never colour alone

Write the status in words and add an icon. Mark a selected item with a second cue besides colour. Colour blind people and screen reader users don’t get the colour.

Do
Failed

Say the status in words, with an icon.

Don’t

A coloured dot with no words.

Use the token for the job

Use role tokens only. Never a hex value, and never a step of a scale such as color.graphite.11. If no token fits, ask for one.

Do
color: var(--bh-color-text-subtle);

Use the role token for what you are painting.

Don’t
color: #5f5e5c;
color: var(--bh-color-graphite-11);

A hex value or a scale step in product code.

One primary button per view

The primary button is graphite. Every other button is a default button. There is no yellow button.

Do
Save changesCancel

One graphite primary button per view.

Don’t
SavePublish

Several primary buttons, or a yellow button.

In this section

Page What is in it
Usage The token for each part of a screen, status colours, labels and interaction states.
Palette Every scale and step, what each is for, and the contrast each step guarantees.
Tokens How token names are built, and every role token in light and dark.
Dark mode How the dark theme works and what to check in it.
Accessibility Contrast minimums and which text goes on which background.