Skip to content
Vectorlight.net

#408c19

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

HEX
#408c19
RGB
64, 140, 25
HSL
99.65°, 69.7%, 32.35%
OKLCH
0.57 0.16 137.73
Names
—
Lists

Codes

FormatValue
HEX#408c19
RGBrgb(64 140 25)
HSLhsl(99.65 69.7% 32.35%)
OKLCHoklch(0.57 0.16 137.73)
CMYKcmyk(54.29% 0% 82.14% 45.1%)
Android#ff408c19

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#408c19"
Gradient stop
<stop stop-color="#408c19"/>
CSS variable + fill
:root { --c: #408c19; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #408c19;
background-color: #408c19;
bg-[#408c19]