Green #008000

#008000Green
HEX#008000
RGBrgb(0, 128, 0)
HSLhsl(120, 100%, 25%)
HSVhsv(120, 100%, 50%)
OKLCHoklch(52% 0.177 142.5)
OKLABoklab(52% -0.14 0.108)
CMYKcmyk(100%, 0%, 100%, 50%)

Green (#008000) is a medium, highly saturated green hue. The CSS green keyword is a medium green, darker than pure sRGB green (#00FF00, which CSS calls lime).

In RGB it is made of 0 red, 128 green and 0 blue. Its HSL hue angle is 120° with 100% saturation and 25% lightness, while its perceptual OKLCH lightness is 52% with a chroma of 0.177. For print, a starting CMYK mix is 100% cyan, 0% magenta, 100% yellow and 50% black.

As a text color on white, Green has a contrast ratio of 5.14:1, which passes WCAG AA for normal text. On black it reaches 4.09:1 and passes AA only for large text. If you use Green as a background, put white text on it. The APCA lightness contrast is Lc 29 for black text and Lc -80 for white text.

Its perceptual complement is #963BA3, close to plum. Colors that look most similar are forest green, sea green, olive. People with red-green color blindness see green quite differently (ΔE 12), so do not rely on it alone to signal meaning.

Contrast

Text on white · 5.14:1 AA ✓
Text on black · 4.09:1 Large only
White on Green · APCA Lc -80
Black on Green · APCA Lc 29

Shades and tints of green

Color harmonies

ComplementaryAnalogousSplit complementaryTriadicTetradicMonochromatic

How green looks with color blindness

Protanopia: #837200Deuteranopia: #776A18Tritanopia: #007C6CAchromatopsia: #6D6D6D

Similar colors

Forest Green#228B22Sea Green#2E8B57Olive#808000Hunter Green#355E3BJade#00A86BTeal#008080Kelly Green#4CBB17Gray#808080

FAQ

What is the hex code for green?

The hex code for green is #008000, which is rgb(0, 128, 0) in RGB.

What text color goes on green?

White text. Its contrast with green is 5.14:1.

What color is the complement of green?

The perceptual (OKLCH) complement of #008000 is #963BA3.

← All named colors