#008000 color codes
- HEX
- #008000
- HEX8
- #008000FF
- HEX8 (Android)
- #FF008000
- RGB
- rgb(0, 128, 0)
- RGB (%)
- 0%, 50%, 0%
- HSL
- hsl(120, 100%, 25%)
- HSV / HSB
- hsv(120, 100%, 50%)
- CMYK
- cmyk(100%, 0%, 100%, 50%)
- OKLCH
- oklch(0.5198 0.1769 142.5)
- OKLCH (%)
- oklch(51.98% 0.1769 142.5)
- Decimal
- 32768
What color is #008000?
#008000 sits at 52% lightness and 0.1769 chroma in OKLCH, hue 142.5°. Its nearest named color is Green (an exact match).
Shades and tints of #008000
Tints
Shades
Tones
#008000 color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #008000 in CSS
.text { color: #008000; }
.background { background-color: #008000; }
.border { border: 2px solid #008000; }
/* Modern, perceptually uniform */
.text { color: oklch(0.5198 0.1769 142.5); }
/* #008000 at 50% transparency */
.overlay { background-color: #00800080; }Is #008000 accessible?
#008000 on white text scores 5.14:1; on black text it scores 4.09:1. White text passes WCAG AA for normal text on #008000. Recommended text color on a #008000 background: white.
A 4.09:1 vs black
A 5.14:1 vs white
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Fail
- AAA large ≥ 4.5 Pass
Recommended text color: white
CSS
contrast-color() contrast-color(#008000) → white APCA Lc experimental 80 Lc · body text (white text)
WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
Nearest featured color: Green #008000. See more in the green family on the colors hub.
Frequently asked questions
- What color is #008000?
- #008000 is Green. In RGB it is rgb(0, 128, 0), and in HSL hsl(120, 100%, 25%).
- What is #008000 in RGB?
- #008000 converts to rgb(0, 128, 0) — red 0, green 128, blue 0.
- What text color is readable on #008000?
- White text — it has the higher contrast ratio (5.14:1) against #008000. White text passes WCAG AA for normal text on #008000.