Color values
#808000rgb(128, 128, 0)hsl(60 100% 25%)60°, 100%, 50%0%, 0%, 100%, 50%HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.
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.
#808000rgb(128, 128, 0)hsl(60 100% 25%)60°, 100%, 50%0%, 0%, 100%, 50%HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.
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.
These steps are computed by RGB-mixing #808000 toward white or black. They are generated values, not official named colors.
#E6E6CC #CCCC99 #B3B366 #999933 #808000 #666600 #4D4D00 #333300 #1A1A00 Need more control? Use the Tints and Shades Generator or Lighten / Darken tool.
.example {
color: #000000;
background-color: olive;
} You can use either olive or #808000 in CSS; both resolve to the same sRGB color.
Closest entries in the current Colormapped set by simple RGB-channel distance:
RGB distance is a simple numerical comparison, not a perceptual color-difference standard.
The keyword and base sRGB value come from the standardized CSS named-color set documented by MDN’s named-color reference. Derived values on this page are computed from that sRGB value.
Contrast uses the W3C relative-luminance formula and thresholds described in WCAG Contrast (Minimum).
Convert #808000 with the HEX to RGB converter, test another foreground/background pair in the Contrast Checker, or browse the shade families.