Olive
#808000About 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.
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) |
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.