Olive Color
Olive is a vivid, medium yellow with hex code #808000. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.
Olive color codes
| HEX | #808000 | |
|---|---|---|
| RGB | rgb(128, 128, 0) | |
| HSL | hsl(60, 100%, 25%) | |
| HSV | 60°, 100%, 50% | |
| CMYK | 0%, 0%, 100%, 50% | |
| OKLCH | oklch(58.1% 0.127 109.8) | |
| Tailwind | bg-[#808000] |
Closest Tailwind colour: lime-700 (#4D7C0F). Convert any colour in the Color Converter.
About Olive
Olive (#808000) is a vivid, medium yellow. In the RGB model it is 50% red, 50% green and 0% blue; its hue angle is 60°, with 100% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 100% yellow and 50% black.
It is a warm colour and appears in our shades of yellow. Text on it reads best in black (5.0:1 contrast).
Olive tints and shades
Tints mix olive with white; shades mix it with black. Click to copy.
Colors that go with Olive
Complementary
Analogous
Triadic
Split complementary
Olive contrast
- AA text fail
- AAA text fail
- AA large pass
- AA text pass
- AAA text fail
- AA large pass
Using Olive in CSS
.brand {
color: #808000;
}
.button {
background: #808000;
color: #111;
}
.hero {
background: linear-gradient(135deg, #acac59, #808000, #535300);
}Similar colors
Gradients with Olive
Olive FAQ
What color is Olive?
Olive is a vivid, medium yellow. Its hex code is #808000 and it is a warm colour.
What is the hex code for Olive?
The hex code for Olive is #808000. In RGB that is rgb(128, 128, 0), and in HSL hsl(60, 100%, 25%).
What is Olive in CMYK?
Olive is roughly C 0%, M 0%, Y 100%, K 50% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.
What colors go well with Olive?
Its complementary colour is #000080. For a calmer palette use its analogous colours #804000 and #408000, or tints and shades of Olive itself.
Is white or black text better on Olive?
Black text reads better on Olive: 5.0:1 contrast, against 4.2:1 for white. WCAG asks for 4.5:1 for body text.
