Best practices

The few rules that keep colour meaning something, each shown the right way and the wrong way.

Name the token

bg-primary
Reach for the token that says what the colour does.
bg-green-700
Don't name a step or a hex: it will not follow a palette or a mode.

One primary

One green action per screen, the rest stepped back.
Don't make two actions green: neither is the one to press.

Status is status

Delivered
Use a status colour for the status it names.
New collection
Don't borrow one to decorate: green that means nothing teaches members to ignore green.

Labels that read

Disputed
Set a label in the fill's own foreground.
Disputed
Don't set grey or the brand ink on a colour fill.

Outline, don't tint

Shipped

Your parcel is on its way.

Set panels apart with a hairline; keep colour for the label.
Shipped

Your parcel is on its way.

Don't tint a whole panel in a status or brand colour.