#808000 color codes
- HEX
- #808000
- HEX8
- #808000FF
- HEX8 (Android)
- #FF808000
- RGB
- rgb(128, 128, 0)
- RGB (%)
- 50%, 50%, 0%
- HSL
- hsl(60, 100%, 25%)
- HSV / HSB
- hsv(60, 100%, 50%)
- CMYK
- cmyk(0%, 0%, 100%, 50%)
- OKLCH
- oklch(0.5807 0.1266 109.77)
- OKLCH (%)
- oklch(58.07% 0.1266 109.77)
- Decimal
- 8421376
What color is #808000?
#808000 sits at 58% lightness and 0.1266 chroma in OKLCH, hue 109.77°. Its nearest named color is Olive (an exact match).
Shades and tints of #808000
Tints
Shades
Tones
#808000 color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #808000 in CSS
.text { color: #808000; }
.background { background-color: #808000; }
.border { border: 2px solid #808000; }
/* Modern, perceptually uniform */
.text { color: oklch(0.5807 0.1266 109.77); }
/* #808000 at 50% transparency */
.overlay { background-color: #80800080; }Is #808000 accessible?
#808000 on white text scores 4.20:1; on black text it scores 5.01:1. Black text passes WCAG AA for normal text on #808000. Recommended text color on a #808000 background: black.
A 5.01:1 vs black
A 4.2:1 vs white
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Fail
- AAA large ≥ 4.5 Pass
Recommended text color: black
CSS
contrast-color() contrast-color(#808000) → black APCA Lc experimental 74.2 Lc · large / secondary text (white text)
WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
See more in the gold family on the colors hub.
Frequently asked questions
- What color is #808000?
- #808000 is Olive. In RGB it is rgb(128, 128, 0), and in HSL hsl(60, 100%, 25%).
- What is #808000 in RGB?
- #808000 converts to rgb(128, 128, 0) — red 128, green 128, blue 0.
- What text color is readable on #808000?
- Black text — it has the higher contrast ratio (5.01:1) against #808000. Black text passes WCAG AA for normal text on #808000.