Khaki & Dark Olive
A retro palette of 6 colors from the Afoli gallery: #4C4100, #507651, #9D7A9C, #6EBA88, #BEB0DD, #FAE187.
Open in the Afoli palette generator →
#4C4100 · Dark Slate Gray#507651 · Dark Olive Green#9D7A9C · Light Slate Gray#6EBA88 · Dark Sea Green#BEB0DD · Light Steel Blue#FAE187 · Khaki
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #4C4100 | rgb(76, 65, 0) | hsl(51, 100%, 15%) | 0, 14, 100, 70 | ≈ Dark Slate Gray |
| #507651 | rgb(80, 118, 81) | hsl(122, 19%, 39%) | 32, 0, 31, 54 | ≈ Dark Olive Green |
| #9D7A9C | rgb(157, 122, 156) | hsl(302, 15%, 55%) | 0, 22, 1, 38 | ≈ Light Slate Gray |
| #6EBA88 | rgb(110, 186, 136) | hsl(141, 36%, 58%) | 41, 0, 27, 27 | ≈ Dark Sea Green |
| #BEB0DD | rgb(190, 176, 221) | hsl(259, 40%, 78%) | 14, 20, 0, 13 | ≈ Light Steel Blue |
| #FAE187 | rgb(250, 225, 135) | hsl(47, 92%, 75%) | 0, 10, 46, 2 | ≈ Khaki |
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 · #507651
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 7.84 : 1 | 76 | Pass |
| Text on a card | 5.06 : 1 | 52 | Pass (WCAG) |
| Button label | 3.99 : 1 | -62 | Fail |
| Heading on background | 3.99 : 1 | 59 | Pass (WCAG) |
| Link on a card | 2.58 : 1 | 35 | Fail |
| Accent badge on a card | 1.83 : 1 | 23 | Fail |
| Primary control on background | 3.99 : 1 | 59 | Pass |
CSS variables
:root {
--dark-slate-gray: #4C4100;
--dark-olive-green: #507651;
--light-slate-gray: #9D7A9C;
--dark-sea-green: #6EBA88;
--light-steel-blue: #BEB0DD;
--khaki: #FAE187;
}
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 Khaki & Dark Olive 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 Khaki & Dark Olive can I use for text?
#4C4100 text on #FAE187 reaches 7.84 : 1, the strongest pair of the palette.
Similar palettes
- Light Grey Green & Very Dark Green
- Faded Blue & Navajo White
- Muddy Brown & Light Tan
- Sandy & Dark Olive
- Pine & Light Sage
- Lilac & Grape
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)