#008000 color (green)

#008000 is rgb(0, 128, 0) in RGB and hsl(120, 100%, 25%) in HSL. It is exactly the CSS color green. Use white text on it (contrast 5.14:1).

#008000green
HEX#008000
RGBrgb(0, 128, 0)
RGB percentrgb(0%, 50.2%, 0%)
HSLhsl(120, 100%, 25%)
HSV / HSBhsv(120, 100%, 50%)
CMYKcmyk(100%, 0%, 100%, 50%)
CIELAB (D65)lab(46.2 -51.7 49.9)

Edit in the color converter → · Check contrast → · Shades →

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.

Color conversions

HEX#008000
RGBrgb(0, 128, 0)
RGB percentrgb(0%, 50.2%, 0%)
HSLhsl(120, 100%, 25%)
HSV / HSBhsv(120, 100%, 50%)
CMYKcmyk(100%, 0%, 100%, 50%)
CIELAB (D65)lab(46.2 -51.7 49.9)
Decimal32768
Binary00000000 10000000 00000000

HEX 00 80 00 → 0, 128, 0 (each pair is a base-16 number: 0×16 + 0 = 0)

Color harmonies

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 #008000RatioAA normalAA largeAAA normalAAA large
White text5.14:1PassPassFailPass
Black text4.09:1FailPassFailFail
White text on #008000
Black text on #008000
#008000 text on white
#008000 text on black

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

NameHEXΔE 2000
green#0080000
forestgreen#228b224.6
darkgreen#0064009.4
seagreen#2e8b5712

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; }

Frequently asked questions

What color is #008000?
A dark vivid green in the green family. Closest CSS name: green.
What is #008000 in RGB?
rgb(0, 128, 0): red 0, green 128, blue 0.
What is the complementary color of #008000?
#800080, found by rotating the hue 180°.