Skip to content
Vectorlight.net

#40642e

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

HEX
#40642e
RGB
64, 100, 46
HSL
100°, 36.99%, 28.63%
OKLCH
0.46 0.09 136.18
Names
—
Lists

Codes

FormatValue
HEX#40642e
RGBrgb(64 100 46)
HSLhsl(100 36.99% 28.63%)
OKLCHoklch(0.46 0.09 136.18)
CMYKcmyk(36% 0% 54% 60.78%)
Android#ff40642e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #40642e;
background-color: #40642e;
bg-[#40642e]