A five-color palette
Marigold: a marigold, amber and cream color palette
A marigold yellow and a dark amber with a cream, a deep brown and a near-black. Its hex codes are #e9b243, #272013, #c08300, #fff0ca, #6b4f1a. 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 |
|---|---|---|---|---|
#e9b243 | Orange (orange) | oklch(79.5% 0.139 81.5) | 10.91:1 passes | 1.92:1 fails |
#272013 | Dark Slate Grey (darkslategrey) | oklch(24.8% 0.025 82.5) | 1.30:1 fails | 16.13:1 passes |
#c08300 | Dark Goldenrod (darkgoldenrod) | oklch(65.5% 0.138 76.1) | 6.49:1 passes | 3.24:1 fails |
#fff0ca | Blanched Almond (blanchedalmond) | oklch(95.7% 0.052 89.0) | 18.57:1 passes | 1.13:1 fails |
#6b4f1a | Saddle Brown (saddlebrown) | oklch(44.7% 0.078 80.0) | 2.76:1 fails | 7.61:1 passes |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #fff0ca, the lightest of the five, takes the background and #272013, 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: #e9b243;
--color-2: #272013;
--color-3: #c08300;
--color-4: #fff0ca;
--color-5: #6b4f1a;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #e9b243;
--color-2: #272013;
--color-3: #c08300;
--color-4: #fff0ca;
--color-5: #6b4f1a;
--color-primary: #e9b243;
--color-secondary: #272013;
--color-accent: #c08300;
}SCSS variables
$color-1: #e9b243;
$color-2: #272013;
$color-3: #c08300;
$color-4: #fff0ca;
$color-5: #6b4f1a;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#e9b243",
"#272013",
"#c08300",
"#fff0ca",
"#6b4f1a"
]
}Hex list
#e9b243
#272013
#c08300
#fff0ca
#6b4f1aCoolors link
https://coolors.co/e9b243-272013-c08300-fff0ca-6b4f1a