AfoliOpen Afoli →

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%.

Open in Afoli Colour tools →

#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

PairWCAG 2.x ratioAPCA LcResult
Olive text on white4.20 : 169AA for large text only
Olive text on black5.01 : 1-33AA — body text
White text on Olive4.20 : 1-74AA for large text only
Black text on Olive5.01 : 135AA — body text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

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

Sources and licences

Updated November 21, 2026