Olive color #808000
Olive is one of the CSS named colors (keyword olive) with the hex code #808000 — RGB 128, 128, 0, HSL 60°, 100%, 25%.
#808000Olive
Color codes
- HEX
#808000- RGB
rgb(128, 128, 0)- HSL
hsl(60, 100%, 25%)- CMYK
0%, 0%, 100%, 50%- OKLCH
oklch(58.1% 0.127 109.8)- CSS keyword
olive
Tints and shades
#FAFD95#DFE17A#C5C75F#ABAC44#929325#7A7A00#616100#4A4A00#343400#1F1F00#0C0C00
Color harmonies
Complementary
#808000#7A6CC0
Analogous
#A07100#808000#4F8C40
Triadic
#808000#0086B1#B05885
Split complementary
#808000#4C7AC5#9B60A9
Tetradic
#808000#008C91#7A6CC0#B9585B
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Olive text on white | 4.20 : 1 | 69 | AA for large text only |
| Olive text on black | 5.01 : 1 | -33 | AA — body text |
| White text on Olive | 4.20 : 1 | -74 | AA for large text only |
| Black text on Olive | 5.01 : 1 | 35 | AA — body text |
Palettes with this color
- Murky Green & Light Lilac
- Violet & Dark Brown
- Swamp Green & Very Dark Purple
- Pinky Purple & Very Dark Purple
- Yellowish & Dark Brown
- Deep Sky Blue & Dark Olive
Frequently asked questions
What is the hex code of Olive?
Olive has the hex code #808000, which is RGB 128, 128, 0 and HSL 60°, 100%, 25%.
Which text color reads best on Olive?
Black text: contrast 5.01 : 1 (white text: 4.20 : 1).
Which colors go well with Olive?
Its complementary color is #7A6CC0; analogous colors are #A07100 and #4F8C40; a triadic set adds #0086B1 and #B05885.
Similar colors
- Swamp Green #748500
- Murky Green #6C7A0E
- Hazel #8E7618
- Swamp #698339
- Drab #828344
- Olive Drab #6B8E23
- Yellowish Brown #9B7A01
- Military Green #667C3E
- Sap Green #5C8B15
- Camo #7F8F4E
Sources and licences
- CSS Color Module Level 4 — named colors (W3C Software and Document License)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)