Skip to content
Vectorlight.net

green (#008000)

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#008000
RGB
0, 128, 0
HSL
120°, 100%, 25.1%
OKLCH
0.52 0.18 142.5
Names
green
Lists

Codes

FormatValue
HEX#008000
RGBrgb(0 128 0)
HSLhsl(120 100% 25.1%)
OKLCHoklch(0.52 0.18 142.5)
CMYKcmyk(100% 0% 100% 49.8%)
Android#ff008000

Names & lists

green CSS named

Web-safe: No

Tailwind: No

Contrast

Aa
5.13:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.08:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#008000"
Gradient stop
<stop stop-color="#008000"/>
CSS variable + fill
:root { --c: #008000; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #008000;
background-color: #008000;
bg-[#008000]