CSS named color

Olive Color Codes, Shades and Palettes

Olive is #808000. Copy its exact codes, compare twenty computed channel steps, and build complementary, analogous, or triadic palettes.

#808000RGB 128, 128, 0HSL 60°, 100%, 25%

Olive color codes

Every format below is calculated from #808000; use the buttons to copy a code exactly.

HEX#808000
RGBrgb(128, 128, 0)
HSLhsl(60°, 100%, 25%)
CMYKcmyk(0%, 0%, 100%, 50%)

10 shades and 10 tints of Olive

These twenty steps use the original Color Lab’s channel-multiplication rule: each RGB channel is multiplied, rounded, and clamped between 0 and 255.

Darker channel steps

#0D0D00
#1A1A00
#262600
#333300
#404000
#4D4D00
#5A5A00
#666600
#737300
#808000

Lighter channel steps

#8D8D00
#9A9A00
#A6A600
#B3B300
#C0C000
#CDCD00
#DADA00
#E6E600
#F3F300
#FFFF00

Computed harmonies and palette ideas

Companion hues use the original wheel’s exact offsets at 80% saturation and 50% lightness, so the relationship stays measurable and repeatable.

Complementary

#E6E619#1919E6

Analogous

#E6E619#80E619#E68019

Triadic

#E6E619#19E6E6#E619E6

How Olive is calculated

Olive is stored as the CSS named-color keyword “olive” with the six-digit value #808000. Splitting that value into red, green, and blue byte pairs produces RGB 128, 128, 0. The same channels convert to HSL 60°, 100%, 25% with the picker’s max-and-min formula, and to CMYK 0%, 0%, 100%, 50% after normalizing each channel to the zero-to-one range. All displayed HSL and CMYK components are rounded to whole numbers.

The shade series is not an invented set of labels. It multiplies the original RGB channels by factors from 0.1 through 1.0. That calculation runs from #0D0D00 at factor 0.1 to #808000 at factor 1.0. The tint series continues the same Color Lab rule from factor 1.1 through 2.0, with clamping whenever a channel reaches 255; its last result is #FFFF00. Clicking any square copies its precomputed code.

For wheel relationships, the base hue is 60 degrees. The complementary hue is 240 degrees, while the analogous companions sit 30 degrees on either side. Triadic companions are offset by 120 and 240 degrees. Like the working Color Lab wheel, those hue samples render at fixed 80% saturation and 50% lightness rather than changing Olive’s own saturation or lightness.

In the full 298-name catalog, the closest distinct RGB neighbors include Gold 4 (#8B7500), Dark Goldenrod 4 (#8B6508), Olive Drab 4 (#698B22), Olive Drab (#6B8E23). Distance is straight-line Euclidean distance between the three sRGB channel values, with equal-hex aliases excluded. Against #808000, black text measures 5.01:1 and white text measures 4.2:1, so black gives the stronger of those two contrast results. Check the ratio required by your specific text size before publishing.

Try Olive in the Color Picker

Pick any color and instantly get HEX, RGB, HSL, and CMYK codes.

Enter a hash followed by exactly six hexadecimal digits.
HEX
RGB
HSL
CMYK
Color Shades & Tints

Frequently asked questions

What is the HEX code for Olive?

Olive is recorded here as #808000. Its RGB channels are 128, 128, 0.

What are the HSL and CMYK values for Olive?

Using the Color Lab conversion math, Olive converts to HSL 60°, 100%, 25% and CMYK 0%, 0%, 100%, 50%. Values are rounded to whole units.

Should Olive use black or white text?

Black has a 5.01:1 contrast ratio and white has a 4.2:1 ratio against Olive. The higher computed ratio is black.