AfoliOpen Afoli →

Dark Olive & Beige

A dark palette of 3 colors from the Afoli gallery: #0E0322, #3B3500, #E4F7CF.

Open in the Afoli palette generator →

#0E0322 · Black#3B3500 · Dark Slate Gray#E4F7CF · Beige

Colors in this palette

HEXRGBHSLCMYKNearest named color
#0E0322rgb(14, 3, 34)hsl(261, 84%, 7%)59, 91, 0, 87≈ Black
#3B3500rgb(59, 53, 0)hsl(54, 100%, 12%)0, 10, 100, 77≈ Dark Slate Gray
#E4F7CFrgb(228, 247, 207)hsl(88, 71%, 89%)8, 0, 16, 3≈ Beige

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 · #E4F7CF
Button

Roles: background #0E0322, surface #3B3500, text #E4F7CF, primary #E4F7CF, accent #E4F7CF (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background17.54 : 1-98Pass
Text on a card10.92 : 1-92Pass
Button label17.54 : 197Pass
Heading on background17.54 : 1-98Pass
Link on a card10.92 : 1-92Pass
Accent badge on a card10.92 : 1-92Pass
Primary control on background17.54 : 1-98Pass

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 {
  --black: #0E0322;
  --dark-slate-gray: #3B3500;
  --beige: #E4F7CF;
}

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 Dark Olive & Beige 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 Dark Olive & Beige can I use for text?

#0E0322 text on #E4F7CF reaches 17.54 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026