Skip to content
Vectorlight.net

#406b2a

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

HEX
#406b2a
RGB
64, 107, 42
HSL
99.69°, 43.62%, 29.22%
OKLCH
0.48 0.11 136.34
Names
—
Lists

Codes

FormatValue
HEX#406b2a
RGBrgb(64 107 42)
HSLhsl(99.69 43.62% 29.22%)
OKLCHoklch(0.48 0.11 136.34)
CMYKcmyk(40.19% 0% 60.75% 58.04%)
Android#ff406b2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #406b2a;
background-color: #406b2a;
bg-[#406b2a]