Color reference

Olive #808000

Olive is the standard CSS named color #808000, combining equal red and green channels at half intensity with no blue.

Olive is the CSS named color keyword olive, standardized at #808000 in sRGB.

Olive #808000 5.01:1 with black text

Color values

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

HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.

Black or white text?

Black text 5.01:1 — AA normal text passes
White text 4.20:1 — AA normal text fails

AA normal text: black passes; white fails.

AA large text: black passes; white passes.

WCAG contrast thresholds use 4.5:1 for normal text and 3:1 for large text. Do not round a near-threshold result upward when testing conformance.

Tints and shades of Olive

These steps are computed by RGB-mixing #808000 toward white or black. They are generated values, not official named colors.

80% tint #E6E6CC
60% tint #CCCC99
40% tint #B3B366
20% tint #999933
Base #808000
20% shade #666600
40% shade #4D4D00
60% shade #333300
80% shade #1A1A00

Need more control? Use the Tints and Shades Generator or Lighten / Darken tool.

CSS usage

.example {
  color: #000000;
  background-color: olive;
}

You can use either olive or #808000 in CSS; both resolve to the same sRGB color.