A five-color palette
Harvest: a mustard, brown and tan color palette
Mustard and a warm brown with a dark umber, tan and a pale green-yellow. Its hex codes are #937c00, #795343, #2f2615, #dcb89b, #dcedb9. 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 |
|---|---|---|---|---|
#937c00 | Olive (olive) | oklch(59.0% 0.121 96.0) | 5.12:1 passes | 4.10:1 fails |
#795343 | Saddle Brown (saddlebrown) | oklch(47.9% 0.057 43.7) | 3.13:1 fails | 6.71:1 passes |
#2f2615 | Dark Slate Grey (darkslategrey) | oklch(27.4% 0.031 82.6) | 1.41:1 fails | 14.90:1 passes |
#dcb89b | Burly Wood (burlywood) | oklch(80.7% 0.057 60.7) | 11.37:1 passes | 1.85:1 fails |
#dcedb9 | Pale Goldenrod (palegoldenrod) | oklch(92.0% 0.071 122.5) | 16.86:1 passes | 1.25:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #dcedb9, the lightest of the five, takes the background and #2f2615, 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: #937c00;
--color-2: #795343;
--color-3: #2f2615;
--color-4: #dcb89b;
--color-5: #dcedb9;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #937c00;
--color-2: #795343;
--color-3: #2f2615;
--color-4: #dcb89b;
--color-5: #dcedb9;
--color-primary: #937c00;
--color-secondary: #795343;
--color-accent: #2f2615;
}SCSS variables
$color-1: #937c00;
$color-2: #795343;
$color-3: #2f2615;
$color-4: #dcb89b;
$color-5: #dcedb9;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#937c00",
"#795343",
"#2f2615",
"#dcb89b",
"#dcedb9"
]
}Hex list
#937c00
#795343
#2f2615
#dcb89b
#dcedb9Coolors link
https://coolors.co/937c00-795343-2f2615-dcb89b-dcedb9