Drab & Light Gray
A earthy palette of 5 colors from the Afoli gallery: #361F00, #585037, #7C7A3B, #A2A376, #DCD6C0.
Open in the Afoli palette generator →
#361F00 · Dark Slate Gray#585037 · Dark Slate Gray#7C7A3B · Olive#A2A376 · Dark Sea Green#DCD6C0 · Light Gray
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #361F00 | rgb(54, 31, 0) | hsl(34, 100%, 11%) | 0, 43, 100, 79 | ≈ Dark Slate Gray |
| #585037 | rgb(88, 80, 55) | hsl(45, 23%, 28%) | 0, 9, 37, 65 | ≈ Dark Slate Gray |
| #7C7A3B | rgb(124, 122, 59) | hsl(58, 36%, 36%) | 0, 2, 52, 51 | ≈ Olive |
| #A2A376 | rgb(162, 163, 118) | hsl(61, 20%, 55%) | 1, 0, 28, 36 | ≈ Dark Sea Green |
| #DCD6C0 | rgb(220, 214, 192) | hsl(47, 29%, 81%) | 0, 3, 13, 14 | ≈ Light Gray |
Preview in a UI
A heading in the primary color
Body text on the background, as a page or an app would show it.
Text on a card · #7C7A3B
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 10.66 : 1 | -79 | Pass |
| Text on a card | 5.51 : 1 | -66 | Pass (WCAG) |
| Button label | 3.48 : 1 | 29 | Fail |
| Heading on background | 3.48 : 1 | -28 | Pass (WCAG) |
| Link on a card | 1.80 : 1 | -15 | Fail |
| Accent badge on a card | 3.07 : 1 | -36 | Pass (WCAG) |
| Primary control on background | 3.48 : 1 | -28 | Pass (WCAG) |
CSS variables
:root {
--dark-slate-gray: #361F00;
--dark-slate-gray-2: #585037;
--olive: #7C7A3B;
--dark-sea-green: #A2A376;
--light-gray: #DCD6C0;
}
How this palette was made
Afoli generated it from a fixed seed and kept it because it passes the gallery rules: every color is clearly distinct, one pair reaches 4.5 : 1 for text and the colors span a wide light-to-dark range. It is free to use (CC0).
Frequently asked questions
How do I use the Drab & Light Gray palette in CSS?
Copy the CSS variables on this page, or open the palette in the Afoli generator to export Tailwind, JSON, SVG, PNG or Adobe ASE.
Which colors of Drab & Light Gray can I use for text?
#361F00 text on #DCD6C0 reaches 10.66 : 1, the strongest pair of the palette.
Similar palettes
- Earth & Wheat
- Army Green & Blanched Almond
- Sand & Dark Brown
- Navy Green & Light Gray
- Wheat & Dark Brown
- Military Green & Light Goldenrod Yellow
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)