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.
Brand colours
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.color.brand.graphite#2B2A28 · RGB 43 42 40Text, the primary button and dark brand surfaces. Step 12 of the graphite scale.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.
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.
Graphite text; yellow only for the current-page bar.
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.
Red for something that failed.
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.
Say the status in words, with an icon.
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.
color: var(--bh-color-text-subtle);Use the role token for what you are painting.
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.
One graphite primary button per view.
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. |