About #008000
#008000 is a dark, vivid green with a hue angle of 120°. It belongs to the green family and reads as a cool color. In the RGB model green is the strongest channel at 128 (50%) and red the weakest at 0 (0%). Colors like this are typically used for headers, navigation bars and strong brand areas.
- It is the CSS named color green, so you can write
color: greeninstead of the hex code.
Color conversions
| HEX | #008000 |
|---|---|
| RGB | rgb(0, 128, 0) |
| RGB percent | rgb(0%, 50.2%, 0%) |
| HSL | hsl(120, 100%, 25%) |
| HSV / HSB | hsv(120, 100%, 50%) |
| CMYK | cmyk(100%, 0%, 100%, 50%) |
| CIELAB (D65) | lab(46.2 -51.7 49.9) |
| Decimal | 32768 |
| Binary | 00000000 10000000 00000000 |
HEX 00 80 00 → 0, 128, 0 (each pair is a base-16 number: 0×16 + 0 = 0)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #008000
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #008000 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 5.14:1 | Pass | Pass | Fail | Pass |
| Black text | 4.09:1 | Fail | Pass | Fail | Fail |
Relative luminance is 0.1544 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#837200
Deuteranopia#776a18
Tritanopia#007c6c
Achromatopsia#6d6d6d
With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 22.3). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| green | #008000 | 0 |
| forestgreen | #228b22 | 4.6 |
| darkgreen | #006400 | 9.4 |
| seagreen | #2e8b57 | 12 |
CSS
.element {
color: #008000;
background-color: rgb(0, 128, 0);
border: 1px solid hsl(120, 100%, 25%);
box-shadow: 0 2px 8px rgb(0 128 0 / 50%);
}
:root { --brand: #008000; }