CSS Named Color Reference

Olive Color Code

Olive·#808000

Green FamilyNeutralDark toneHigh saturationoklch(58.1% 0.127 110)
HEX
#808000Primary token
RGB
rgb(128, 128, 0)Screen values
HSL
hsl(60 100% 25%)Hue and lightness
CMYK
0, 0, 100, 50Print handoff
LAB
52, -13, 57Perceptual reference
OKLCH
oklch(58.1% 0.127 110)Modern perceptual

Olive is a deep, high-saturation CSS named color at #808000. If you searched for olive hex code, 808000, or olive RGB, this page gives the exact color value, conversion formats, contrast checks, nearby colors, and links into the lookup and converter workflows.

Best text colorWhite text
Body text contrast4.20:1
Best UseSuccess states, natural brands, support actions, and calm interface signals

Tonal Scale

100#E8E8D1
300#C5C58A
500#97972E
600#808000
800#5C5C00

Contrast Checks

White text on this color

Buttons, badges, and filled actions.

4.20:1Large text / UI only

Dark text on this color

Large headings and selective UI.

4.09:1Large text / UI only

This color on light surface

Links, borders, and icons on light UI.

3.99:1Large text / UI only
Best text colorWhite textContrast 4.20:1

Professional Reference

OKLCHoklch(58.1% 0.127 110)
Relative Luminance0.2003
Source TypeCSS Named Color
Classification
Green FamilyNeutralDark toneHigh saturation
Source Context
Source Type
CSS Named Color
System
CSS
Closest Matches
Material Lime 900Material Lime 800Olivedrab
Color Notes
  • Olive is kept as an exact CSS named color for #808000.
  • Queries for olive color code, 808000, or olive RGB usually need the value first, then contrast and implementation context.

Accessibility Matrix

White text on this color

White text placed on the current color.

4.20:1Large text / UI only

Dark text on this color

Dark text or headings on the current color.

4.09:1Large text / UI only

This color on light surface

Use this color for links, strokes, or icons on light UI.

3.99:1Large text / UI only

This color on dark surface

Use this color inside dark shells for strokes, tags, or icons.

4.09:1Large text / UI only
Best text colorWhite textContrast 4.20:1 · Large text / UI only

Where It Works

  • Use it for success states, support actions, ecology cues, and stable positive feedback.
  • Very bright greens need contrast testing before they become buttons or text backgrounds.
  • Pair with white, charcoal, soft neutrals, and nearby teal or yellow-green colors.

Reference Notes

Last Updated
2026-09-03
Source Library
CSS Standard Colors
Methodology
Verified source values + site guidance
Color Notes

Olive is sourced from the published CSS Standard Colors library and retained here as a searchable reference swatch for product and interface reference work.

Hue Family

Natural greens for sustainability and calm systems.

Source Collections
CSS Named Colors

Related Colors

Palette Starting Points

Implementation Snippets

CSS Variables
:root {
  --color-olive: #808000;
  --color-olive-rgb: 128 128 0;
}
Utility Class
class="bg-[#808000] text-white"
class="hover:bg-[#5C5C00] ring-1 ring-[#808000]"
JSON Token
{
  "olive": "#808000",
  "oliveRgb": [128, 128, 0],
  "oliveHsl": [60, 100, 25]
}