Inspired by green olives. It's a muted green with a yellow and brown base. It's a staple in military wear, jackets and earth-tone decor.
Also known as: olive.
Olive green (#808000) is a warm, dark, highly saturated color. It belongs to the greens family. It mixes 128 red, 128 green and 0 blue (out of 255). It is mostly used in fashion, home decor, uniforms.
From lightest to darkest. Tap a shade to copy its code.
Combinations based on the color wheel. More in the color harmony tool.
Copy the codes or open a palette in the editor to tweak it.
Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker.
:root {
--olive-green: #808000;
--olive-green-rgb: 128, 128, 0;
}
.bg { background-color: var(--olive-green); }
.text { color: var(--olive-green); }The hex code for olive green is #808000. In RGB it is rgb(128, 128, 0), in HSL hsl(60, 100%, 25%) and in CMYK 0, 0, 100, 50.
Its complement on the color wheel is #000080, close to navy blue. Used in small doses, it works as an accent and adds strong contrast.
Use black text instead: the contrast with white is only 4.2:1, while with black it is 5.0:1.
It pairs well with mustard, terracotta, beige, off-white, camel. Keep neon or lime green away from it: they compete and make olive look dull and dirty. Don't overdo black either, since it weighs the whole look down.