AfoliOpen Afoli →

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

HEXRGBHSLCMYKNearest named color
#361F00rgb(54, 31, 0)hsl(34, 100%, 11%)0, 43, 100, 79≈ Dark Slate Gray
#585037rgb(88, 80, 55)hsl(45, 23%, 28%)0, 9, 37, 65≈ Dark Slate Gray
#7C7A3Brgb(124, 122, 59)hsl(58, 36%, 36%)0, 2, 52, 51≈ Olive
#A2A376rgb(162, 163, 118)hsl(61, 20%, 55%)1, 0, 28, 36≈ Dark Sea Green
#DCD6C0rgb(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
Button

Roles: background #361F00, surface #585037, text #DCD6C0, primary #7C7A3B, accent #A2A376 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background10.66 : 1-79Pass
Text on a card5.51 : 1-66Pass (WCAG)
Button label3.48 : 129Fail
Heading on background3.48 : 1-28Pass (WCAG)
Link on a card1.80 : 1-15Fail
Accent badge on a card3.07 : 1-36Pass (WCAG)
Primary control on background3.48 : 1-28Pass (WCAG)

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

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

Sources and licences

Updated November 21, 2026