Skip to content
Vectorlight.net

olive (#808000)

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#808000
RGB
128, 128, 0
HSL
60°, 100%, 25.1%
OKLCH
0.58 0.13 109.77
Names
olive
Lists

Codes

FormatValue
HEX#808000
RGBrgb(128 128 0)
HSLhsl(60 100% 25.1%)
OKLCHoklch(0.58 0.13 109.77)
CMYKcmyk(0% 0% 100% 49.8%)
Android#ff808000

Names & lists

olive CSS named

Web-safe: No

Tailwind: No

Contrast

Aa
4.19:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.00:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#808000"
Gradient stop
<stop stop-color="#808000"/>
CSS variable + fill
:root { --c: #808000; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #808000;
background-color: #808000;
bg-[#808000]