Skip to content
Vectorlight.net

#408002

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

HEX
#408002
RGB
64, 128, 2
HSL
90.48°, 96.92%, 25.49%
OKLCH
0.54 0.16 135.29
Names
—
Lists

Codes

FormatValue
HEX#408002
RGBrgb(64 128 2)
HSLhsl(90.48 96.92% 25.49%)
OKLCHoklch(0.54 0.16 135.29)
CMYKcmyk(50% 0% 98.44% 49.8%)
Android#ff408002

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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