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
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #0E0322 | rgb(14, 3, 34) | hsl(261, 84%, 7%) | 59, 91, 0, 87 | ≈ Black |
| #3B3500 | rgb(59, 53, 0) | hsl(54, 100%, 12%) | 0, 10, 100, 77 | ≈ Dark Slate Gray |
| #E4F7CF | rgb(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
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 17.54 : 1 | -98 | Pass |
| Text on a card | 10.92 : 1 | -92 | Pass |
| Button label | 17.54 : 1 | 97 | Pass |
| Heading on background | 17.54 : 1 | -98 | Pass |
| Link on a card | 10.92 : 1 | -92 | Pass |
| Accent badge on a card | 10.92 : 1 | -92 | Pass |
| Primary control on background | 17.54 : 1 | -98 | Pass |
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
- Midnight Purple & Beige
- Marine & Papaya Whip
- Dark Olive & Lavender
- Marine & Bisque
- Hunter Green & Gainsboro
- Plum Purple & Beige
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)