A five-color palette
Desert sand: a brown, sand and cream color palette
Brown and sand with a dark umber, a light sand and a cream white. Its hex codes are #634411, #a5865e, #271806, #d5be9a, #feefdd. 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 |
|---|---|---|---|---|
#634411 | Saddle Brown (saddlebrown) | oklch(41.2% 0.077 75.2) | 2.37:1 fails | 8.88:1 passes |
#a5865e | Dark Goldenrod (darkgoldenrod) | oklch(63.9% 0.067 73.3) | 6.17:1 passes | 3.40:1 fails |
#271806 | Midnight Blue (midnightblue) | oklch(22.4% 0.038 69.3) | 1.22:1 fails | 17.22:1 passes |
#d5be9a | Burly Wood (burlywood) | oklch(81.2% 0.055 78.9) | 11.66:1 passes | 1.80:1 fails |
#feefdd | Papaya Whip (papayawhip) | oklch(95.9% 0.029 72.5) | 18.60:1 passes | 1.13:1 fails |
Using the palette
In Recolor the order of the colors is meaning: swatch 1 takes the page's heaviest brand color, swatch 2 the next, and the page's greys take a tint of swatch 1 (how that works is in mapping). Reorder the swatches and the page reorders with them. 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; #271806 is the darkest of the five.
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: #634411;
--color-2: #a5865e;
--color-3: #271806;
--color-4: #d5be9a;
--color-5: #feefdd;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #634411;
--color-2: #a5865e;
--color-3: #271806;
--color-4: #d5be9a;
--color-5: #feefdd;
--color-primary: #634411;
--color-secondary: #a5865e;
--color-accent: #271806;
}SCSS variables
$color-1: #634411;
$color-2: #a5865e;
$color-3: #271806;
$color-4: #d5be9a;
$color-5: #feefdd;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#634411",
"#a5865e",
"#271806",
"#d5be9a",
"#feefdd"
]
}Hex list
#634411
#a5865e
#271806
#d5be9a
#feefddCoolors link
https://coolors.co/634411-a5865e-271806-d5be9a-feefdd