Skip to content
Vectorlight.net

#008010

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

HEX
#008010
RGB
0, 128, 16
HSL
127.5°, 100%, 25.1%
OKLCH
0.52 0.17 143.38
Names
—
Lists

Codes

FormatValue
HEX#008010
RGBrgb(0 128 16)
HSLhsl(127.5 100% 25.1%)
OKLCHoklch(0.52 0.17 143.38)
CMYKcmyk(100% 0% 87.5% 49.8%)
Android#ff008010

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.12:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.09: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="#008010"
Gradient stop
<stop stop-color="#008010"/>
CSS variable + fill
:root { --c: #008010; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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