Olive
#808000rgb(128, 128, 0)hsl(60, 100%, 25%)
Olive is #808000, rgb(128, 128, 0).
In CSS: olive
1 of 2 backgrounds pass AA
- On whiteFail4.20 : 1
- On ink blackPass4.56 : 1
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.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 4.20:1 | Fail | Pass | Fail |
| Ink black #0F0F12 | 4.56:1 | Pass | Pass | Fail |
| Mid grey #6B7280 | 1.15:1 | Fail | Fail | Fail |
| Dark grey #374151 | 2.46:1 | Fail | Fail | Fail |
| Light grey #E5E7EB | 3.39:1 | Fail | Pass | Fail |
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, or open the palette generator with Olive locked and let it fill in the rest.
Full values for Olive
| Format | Value |
|---|---|
| HEX | #808000 |
| RGB | rgb(128, 128, 0) |
| HSL | hsl(60, 100%, 25%) |
| HSV | hsv(60, 100%, 50%) |
| CMYK | cmyk(0%, 0%, 100%, 50%) |
| OKLCH | oklch(58.07% 0.1266 109.77) |
| CIELAB | lab(51.87 -12.93 56.67) |
Frequently asked questions
What is the RGB value of Olive?
Olive (#808000) is rgb(128, 128, 0): 128 red, 128 green and 0 blue on the 0 to 255 scale. Red and green share the lead at 128 with blue at 0, which puts the hue at 60 degrees. In HSL the same color is hsl(60, 100%, 25%).
What colour is #808000?
#808000 is Olive, a dark green colour with a hue of 60 degrees, 100% saturation and 25% lightness. For print the CMYK breakdown is 0% cyan, 0% magenta, 100% yellow and 50% black. Its nearest neighbour in this library is Olive Green, 17.0 away in CIELAB, a difference you can see.
Is Olive a CSS color name?
Yes. The keyword olive is one of the 148 named colors in CSS Color Module Level 4, so color: olive; renders exactly #808000.
What colors go with Olive?
Opposite Olive on the color wheel sits the complementary #000080 (Navy), the boldest accent by hue. For a calmer scheme use the analogous neighbours #804000 (close to Chocolate Traditional) and #408000; for a balanced three-color scheme use the triadic pair #008080 (Teal) and #800080 (Purple). Of these, #000080 has the most contrast against Olive, at 3.82:1, enough for icons and large text.
What text color is readable on Olive?
Ink black (#0F0F12) is the most readable on Olive, at 4.56:1, which clears WCAG AA (4.5:1) but not AAA. 1 of the 5 common text colors tested passes AA for normal text.
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.