A five-color palette
Autumn: a rust, olive and butter yellow color palette
Rust and olive with a dark olive black, a salmon and a butter yellow. Its hex codes are #983d00, #728946, #2f2600, #ff9f7e, #ffeab6. 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 |
|---|---|---|---|---|
#983d00 | Saddle Brown (saddlebrown) | oklch(47.8% 0.136 45.3) | 3.00:1 fails | 6.99:1 passes |
#728946 | Olive Drab (olivedrab) | oklch(59.6% 0.097 124.8) | 5.38:1 passes | 3.90:1 fails |
#2f2600 | Dark Slate Grey (darkslategrey) | oklch(27.1% 0.056 95.5) | 1.40:1 fails | 15.02:1 passes |
#ff9f7e | Light Salmon (lightsalmon) | oklch(79.3% 0.124 39.7) | 10.51:1 passes | 2.00:1 fails |
#ffeab6 | Moccasin (moccasin) | oklch(94.2% 0.071 88.6) | 17.70:1 passes | 1.19: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; #2f2600 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: #983d00;
--color-2: #728946;
--color-3: #2f2600;
--color-4: #ff9f7e;
--color-5: #ffeab6;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #983d00;
--color-2: #728946;
--color-3: #2f2600;
--color-4: #ff9f7e;
--color-5: #ffeab6;
--color-primary: #983d00;
--color-secondary: #728946;
--color-accent: #2f2600;
}SCSS variables
$color-1: #983d00;
$color-2: #728946;
$color-3: #2f2600;
$color-4: #ff9f7e;
$color-5: #ffeab6;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#983d00",
"#728946",
"#2f2600",
"#ff9f7e",
"#ffeab6"
]
}Hex list
#983d00
#728946
#2f2600
#ff9f7e
#ffeab6Coolors link
https://coolors.co/983d00-728946-2f2600-ff9f7e-ffeab6