GREEN

Olive

#808000
Conversions
HEX#808000
RGBrgb(128, 128, 0)
HSLhsl(60, 100%, 25%)
HSVhsv(60, 100%, 50%)
CMYKcmyk(0%, 0%, 100%, 50%)
Copy CSS
color: #808000; /* rgb */ color: rgb(128, 128, 0); /* hsl */ color: hsl(60, 100%, 25%);
Contrast
On whiteFail · 4.20 : 1
On ink blackPass · 4.56 : 1
Shades
Tints
Pairings
Complementary
#000080
Triadic
#008080
Triadic
#800080

About Olive

Olive is the hex color #808000, which translates to rgb(128, 128, 0) in RGB and hsl(60, 100%, 25%) in HSL. On the color wheel it sits at 60 degrees, with a saturation of 100 percent and a lightness of 25 percent. That combination gives Olive a saturated mid tone: strong enough for buttons and links, still calm enough for larger areas.

How Olive compares

Olive is exactly the CSS keyword olive, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is lime-700 (#497D00), at a distance of 23.4. Inside this library the closest neighbour is Olive Green at 17.0. Sorted by lightness, Olive is number 4 of the 30 green colors here.

Text on Olive

One of the five common text colors below clears WCAG AA for normal text on Olive, led by Ink black at 4.56:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Olive already loaded as the background.

Contrast of common text colors on Olive. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF4.20:1FailPassFail
Ink black #0F0F124.56:1PassPassFail
Mid grey #6B72801.15:1FailFailFail
Dark grey #3741512.46:1FailFailFail
Light grey #E5E7EB3.39:1FailPassFail

Building a palette around Olive

The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Olive for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color.

Full values for Olive

FormatValue
HEX#808000
RGBrgb(128, 128, 0)
HSLhsl(60, 100%, 25%)
HSVhsv(60, 100%, 50%)
CMYKcmyk(0%, 0%, 100%, 50%)
OKLCHoklch(58.07% 0.1266 109.77)
CIELABlab(51.87 -12.93 56.67)

Use Olive in a tool

Nearby colors

Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.