A five-color palette
Mustard: a mustard, gold and cream color palette
A mustard yellow and a dark olive gold with a cream, a light gold and a near-black. Its hex codes are #b08800, #f2e1b6, #695714, #e2bd73, #241a03. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.
Last updated
| Hex | Nearest CSS name | OKLCH | Black text, AA | White text, AA |
|---|---|---|---|---|
#b08800 | Dark Goldenrod (darkgoldenrod) | oklch(64.7% 0.132 87.7) | 6.37:1 passes | 3.30:1 fails |
#f2e1b6 | Wheat (wheat) | oklch(91.3% 0.059 89.0) | 16.22:1 passes | 1.29:1 fails |
#695714 | Dark Olive Green (darkolivegreen) | oklch(46.2% 0.085 93.1) | 2.97:1 fails | 7.06:1 passes |
#e2bd73 | Burly Wood (burlywood) | oklch(81.5% 0.102 83.7) | 11.76:1 passes | 1.79:1 fails |
#241a03 | Dark Slate Grey (darkslategrey) | oklch(22.4% 0.041 86.2) | 1.22:1 fails | 17.16:1 passes |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #f2e1b6, the lightest of the five, takes the background and #241a03, the darkest, the text, and the page's other greys keep their place between the two; on a dark page the two swap. The other three take the page's colors in their order: the first of them its heaviest brand color, the next the one after. Reorder the swatches and the page reorders with them; mapping explains it, and the Tint choice that keeps a page's greys as they were. To keep text readable, the table above says whether black or white text reaches the WCAG AA ratio of 4.5:1 on each color.
The code below is what Recolor's own Export panel writes for this palette. The Tailwind block is a Tailwind v4 @theme block, and the Coolors link opens the same colors there. To see the palette on your own site first, follow previewing a palette on a real website.
The palette as code
CSS variables
:root {
--color-1: #b08800;
--color-2: #f2e1b6;
--color-3: #695714;
--color-4: #e2bd73;
--color-5: #241a03;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #b08800;
--color-2: #f2e1b6;
--color-3: #695714;
--color-4: #e2bd73;
--color-5: #241a03;
--color-primary: #b08800;
--color-secondary: #f2e1b6;
--color-accent: #695714;
}SCSS variables
$color-1: #b08800;
$color-2: #f2e1b6;
$color-3: #695714;
$color-4: #e2bd73;
$color-5: #241a03;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#b08800",
"#f2e1b6",
"#695714",
"#e2bd73",
"#241a03"
]
}Hex list
#b08800
#f2e1b6
#695714
#e2bd73
#241a03Coolors link
https://coolors.co/b08800-f2e1b6-695714-e2bd73-241a03