Olive color: #808000
The CSS keyword olive is #808000, rgb(128, 128, 0) or hsl(60, 100%, 25%). Its codes to copy, 50–950 tint scale, harmonies and contrast on white and black.
Part of design tools.
About Olive
Olive is a mid-tone yellow. Its hue sits at 110° in OKLCH and 60° in HSL — the two wheels are spaced differently, which is why the numbers disagree.
The keyword olive is one of the sixteen original HTML 4 colors, the whole palette of CSS 1, so it is understood by every browser and every email client ever shipped.
Olive tint scale, 50 to 950
Eleven steps at fixed perceived lightness, in OKLCH, holding olive’s own hue from end to end. The keyword itself falls closest to step 500 (#8c8c1b), the one outlined.
Harmonies built on Olive
Hue angles measured in OKLCH, so every accent keeps olive’s perceived lightness. Its complement is #7a6cc0, closest to the named color mediumpurple.
Complementary
Analogous
Triadic
Split-complementary
Olive on white and on black
Black text reads better on olive (5.00:1). As a text color it belongs on a dark background: on white it only reaches 4.19:1, under the 4.5:1 that body text needs, while on black it reaches 5.00:1. AA asks 4.5:1 for body text and 3:1 for large text; AAA asks 7:1.
Named colors close to Olive
Open olive in the full tools
- Open in Color Converter — convert it to any other notation.
- Open in Palette Generator — export its scale as --olive-50 … --olive-950 tokens.
- Open in Color Harmonies — turn the wheel and compare OKLCH with HSL.
- Open in Contrast Checker — test it against any background, with the closest passing shade.
- Open in Color System Generator — derive a light and dark token set from it.
Or browse every named color from the color converter.