A five-color palette
Wheat field: a wheat, olive and pine color palette
Wheat and a dark golden brown with a pale yellow, an olive green and a deep pine. Its hex codes are #dbb067, #624600, #e0e3a0, #8a9a5a, #0a3402. 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 |
|---|---|---|---|---|
#dbb067 | Burly Wood (burlywood) | oklch(78.1% 0.104 79.5) | 10.42:1 passes | 2.02:1 fails |
#624600 | Saddle Brown (saddlebrown) | oklch(41.4% 0.085 82.4) | 2.40:1 fails | 8.77:1 passes |
#e0e3a0 | Pale Goldenrod (palegoldenrod) | oklch(89.8% 0.086 110.2) | 15.66:1 passes | 1.34:1 fails |
#8a9a5a | Olive Drab (olivedrab) | oklch(65.8% 0.090 120.4) | 6.85:1 passes | 3.07:1 fails |
#0a3402 | Dark Slate Grey (darkslategrey) | oklch(28.5% 0.089 140.5) | 1.50:1 fails | 13.95:1 passes |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #e0e3a0, the lightest of the five, takes the background and #0a3402, 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: #dbb067;
--color-2: #624600;
--color-3: #e0e3a0;
--color-4: #8a9a5a;
--color-5: #0a3402;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #dbb067;
--color-2: #624600;
--color-3: #e0e3a0;
--color-4: #8a9a5a;
--color-5: #0a3402;
--color-primary: #dbb067;
--color-secondary: #624600;
--color-accent: #e0e3a0;
}SCSS variables
$color-1: #dbb067;
$color-2: #624600;
$color-3: #e0e3a0;
$color-4: #8a9a5a;
$color-5: #0a3402;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#dbb067",
"#624600",
"#e0e3a0",
"#8a9a5a",
"#0a3402"
]
}Hex list
#dbb067
#624600
#e0e3a0
#8a9a5a
#0a3402Coolors link
https://coolors.co/dbb067-624600-e0e3a0-8a9a5a-0a3402