
Codes & values
- Color Name
Olive - Color ID
KDF-C-08421376 - HEX
#808000 - RGB
rgb(128, 128, 0) - RGBA
rgba(128, 128, 0, 1) - HSL
hsl(60, 100%, 25%) - HSLA
hsla(60, 100%, 25%, 1) - HSV / HSB
hsv(60, 100%, 50%) - CMYK
cmyk(0%, 0%, 100%, 50%) - Light / Dark
dark
Quick answers
- What is the HEX code for Olive?
- #808000
- What is Olive RGB?
- rgb(128, 128, 0)
- What is Olive HSL?
- hsl(60, 100%, 25%)
- What is Olive CMYK?
- cmyk(0%, 0%, 100%, 50%)
What is Olive?
Olive is a curated yellow family color at #808000. It appears in our library with tags for web, design, ui and matches the CSS named color keyword. This shade classifies as dark — strong for text, dark-mode surfaces, or dramatic branding. Temperature lean: warm — energetic, inviting, and closer to red/orange/yellow on the wheel..
Olive HEX code
The HEX code for Olive is #808000. Paste it into CSS as color: #808000; or background-color: #808000;. Design tools accept the same six-digit value without the # prefix (808000).
Olive RGB
Olive in RGB is rgb(128, 128, 0) (channels R 128, G 128, B 0). Use RGB when you need opacity via rgba(128, 128, 0, 1).
Olive HSL & HSV
HSL is hsl(60, 100%, 25%) — useful for generating lighter/darker variants by adjusting lightness. HSV/HSB is hsv(60, 100%, 50%), closer to how many digital pickers expose hue, saturation, and brightness.
Olive CMYK
Approximate CMYK for Olive is cmyk(0%, 0%, 100%, 50%). Screen HEX/RGB values are device-dependent; for print, always soft-proof in your print profile rather than relying on a web conversion alone.
Shades of Olive
Darker shades (mixed toward black): #6B6B00, #555500, #404000, #2B2B00, #151500. Use deeper shades for hover states, borders, and dark-mode accents.
Tints of Olive
Lighter tints (mixed toward white): #95952B, #AAAA55, #C0C080, #D5D5AA, #EAEAD5. Tints work well for soft backgrounds, chips, and secondary buttons.
Colors that go with Olive
Complementary pairing: #808000, #000080. Analogous neighbors: #804000, #808000, #408000. Triadic accents: #808000, #008080, #800080. Always check text contrast when pairing.
Olive color combinations
A practical combo: primary #808000, complementary accent #000080, and a neutral charcoal or off-white for text and surfaces. Split-complementary options: #808000, #004080, #400080.
Olive in web design
Yellow highlights and warnings need careful contrast — prefer dark text on yellow, or use gold/amber variants for luxury without eye strain.
Olive in branding
Gold and yellow brands feel optimistic or luxurious depending on saturation — champagne gold vs traffic yellow. Contrast vs white is 4.20:1 (better as a large accent or background than small body text); vs black 5.01:1.
Frequently asked questions
- What is the HEX code for Olive?
- Olive: #808000.
- What is Olive RGB?
- Olive: rgb(128, 128, 0).
- What is Olive HSL?
- Olive: hsl(60, 100%, 25%).
- What is Olive CMYK?
- Olive: cmyk(0%, 0%, 100%, 50%).
- What colors go with Olive?
- Try complementary #808000, #000080 or analogous #804000, #808000, #408000.
- Is Olive good for text on white?
- Not ideal for small body text (4.20:1). Use as a large heading, button, or background instead.
Accessibility snapshot
Contrast vs white: 4.20:1 (prefer large accent or background). Contrast vs black: 5.01:1. Complementary swatch: #808000, #000080.
Explore related
Yellow colorsColor pickerPalette generatorContrast checkerColor guidesComplete Color Code GuideHow HEX Colors WorkHEX vs RGB vs CMYK