Olive Green & Dark Maroon
A vivid palette of 4 colors from the Afoli gallery: #2C071A, #0071AF, #5B7700, #00C2D9.
Open in the Afoli palette generator →
#2C071A · Midnight Blue#0071AF · Steel Blue#5B7700 · Dark Olive Green#00C2D9 · Dark Turquoise
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #2C071A | rgb(44, 7, 26) | hsl(329, 73%, 10%) | 0, 84, 41, 83 | ≈ Midnight Blue |
| #0071AF | rgb(0, 113, 175) | hsl(201, 100%, 34%) | 100, 35, 0, 31 | ≈ Steel Blue |
| #5B7700 | rgb(91, 119, 0) | hsl(74, 100%, 23%) | 24, 0, 100, 53 | ≈ Dark Olive Green |
| #00C2D9 | rgb(0, 194, 217) | hsl(186, 100%, 43%) | 100, 11, 0, 15 | ≈ Dark Turquoise |
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 · #5B7700
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 8.43 : 1 | -59 | Pass (WCAG) |
| Text on a card | 8.43 : 1 | -59 | Pass (WCAG) |
| Button label | 3.54 : 1 | 27 | Fail |
| Heading on background | 3.54 : 1 | -25 | Pass (WCAG) |
| Link on a card | 3.54 : 1 | -25 | Fail |
| Accent badge on a card | 3.45 : 1 | -25 | Pass (WCAG) |
| Primary control on background | 3.54 : 1 | -25 | Pass (WCAG) |
CSS variables
:root {
--midnight-blue: #2C071A;
--steel-blue: #0071AF;
--dark-olive-green: #5B7700;
--dark-turquoise: #00C2D9;
}
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 Olive Green & Dark Maroon 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 Olive Green & Dark Maroon can I use for text?
#2C071A text on #00C2D9 reaches 8.43 : 1, the strongest pair of the palette.
Similar palettes
- Dark Pink & Dark Plum
- Tomato Red & Seaweed
- Teal Blue & Ice Blue
- Peacock Blue & Lavender
- Dark Pink & Misty Rose
- Marine & Light Blue
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)