Colors

#808000

Olive

Olive is #808000. In CSS you can write it as the keyword olive. The values below are the same sRGB color in HEX, RGB, HSL, HSV, a simple CMYK conversion, and OKLCH. CMYK here is a channel formula for reference, not a press proof.

Conversions

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.1% 0.127 109.8)

Tints and shades

Tints mix this color toward white. Shades mix it toward black in sRGB. For a 50–950 ramp, open the tint and shade generator.

Tints

#999933

20% white

#B3B366

40% white

#CCCC99

60% white

#E6E6CC

80% white

Shades

#666600

20% black

#4D4D00

40% black

#333300

60% black

#1A1A00

80% black

Harmony palettes

These schemes rotate hue from Olive. Read the relationships in color theory 101 or adjust them on the color wheel.

#808000

#000080

#ADAD1F

#1F1FAD

#26260D

#804000

#808000

#408000

#008000

#760A0A

#808000

#008080

#800080

#1FADAD

#410B41

Split Complementary

Open in palette generator

#808000

#004080

#400080

#B8B82E

#0D0D26

#666600

#B3B300

#FFFF00

#FFFF4D

#FFFF99

#808000

#008040

#000080

#800040

#219C5E

Contrast against white and black

Ratios use the WCAG relative-luminance formula. AA normal text needs 4.5:1 and large text needs 3:1 under Success Criterion 1.4.3. AAA uses 7:1 and 4.5:1. A pass here is only this pair, not a full page audit. Check other pairings in the contrast checker.

On white · 4.20:1
AA normal text Fail
AA large text Pass
AAA normal text Fail
AAA large text Fail
On black · 5.01:1
AA normal text Pass
AA large text Pass
AAA normal text Fail
AAA large text Pass

Similar named colors

Nearest CSS named colors by RGB distance. Distance is not a perceptual match.

Use this color