Using Nettle (#BBAC7D) in Interface Design: Scale, Buttons and Dark Mode
A working design system from Nettle #BBAC7D: a 50 to 950 scale, button states with contrast, a dark-mode version, an accessible link color and the CSS to paste in.
Nettle (#BBAC7D) is a light, muted yellow. As an interface color it has a clear personality: it is light enough that dark labels read better than white ones, which makes it better as a surface, a highlight or a data color than as a button. This guide shows how to build a working interface from it: a full scale, every button state, a dark-mode version, a link color that passes, and the CSS to paste in.
A scale built from Nettle
A single color is not enough for an interface. You need lighter steps for surfaces and borders and darker steps for text and hover states. This 50 to 950 scale keeps the hue and saturation of Nettle and moves only the lightness. The step closest to Nettle keeps its exact value.
| Step | Hex | Contrast on white | Best text on it |
|---|---|---|---|
| 50 | #F8F7F1 | 1.07:1 | #111111 |
| 100 | #EFEBDF | 1.19:1 | #111111 |
| 200 | #E1DBC5 | 1.38:1 | #111111 |
| 300 | #CBC1A0 | 1.79:1 | #111111 |
| 400 | #BBAC7D | 2.25:1 | #111111 |
| 500 | #948558 | 3.64:1 | #111111 |
| 600 | #7B6E43 | 5.05:1 | #FFFFFF |
| 700 | #635733 | 7.13:1 | #FFFFFF |
| 800 | #4B4224 | 9.98:1 | #FFFFFF |
| 900 | #373018 | 13.13:1 | #FFFFFF |
| 950 | #1F1A0A | 17.34:1 | #FFFFFF |
Button states
Interactive elements need to look different when you hover, press and disable them, and each state still has to be readable. These values are made from Nettle itself, so the button stays in family.
| State | Background | Label | Label contrast |
|---|---|---|---|
| Default | #BBAC7D | #111111 | 8.37:1 |
| Hover | #B1A276 | #111111 | 7.46:1 |
| Pressed | #A79A6F | #111111 | 6.73:1 |
| Disabled | #E8E4DA | #6B7280 | 3.80:1 |
Disabled controls are exempt from WCAG contrast rules, but they still need to be recognizable, so the label is kept dark enough to read. For keyboard focus, use an outline of Morrel (#A29365), which reaches 3 to 1 against a white page, the minimum for interface parts.
Dark mode
On a near-black page (#0F1115), Nettle reaches 8.37:1 (AAA). That is enough to use it directly as text, a link or an icon in dark mode.
Links and text
Nettle on white reaches only 2.25:1, which is not enough for text. For links and small headings use Mossy (#847548), the closest shade that reaches 4.5 to 1, and keep Nettle itself for fills and large display type.
Surfaces and borders
Tints of Nettle make quiet surfaces that feel connected to the brand without competing with it. Snow (#FCFBFA) works as a card or page tint, and Salt (#F2F0EA) as a border or divider.
The CSS
:root {
--brand: #BBAC7D;
--brand-hover: #B1A276;
--brand-active: #A79A6F;
--on-brand: #111111;
--brand-surface: #FCFBFA;
--brand-border: #F2F0EA;
--brand-text: #847548;
--focus-ring: #A29365;
}
@media (prefers-color-scheme: dark) {
:root {
--brand: #BBAC7D;
--brand-text: #BBAC7D;
}
}A short checklist
- Use Nettle for the one action you most want people to take.
- Put #111111 text on it and check that the ratio stays above 4.5 to 1.
- Use the scale for hover, pressed, border and surface colors rather than inventing new ones.
- Define a separate dark-mode value and test it on a dark page.
- Never use the color as the only signal: add an icon, a label or an underline.