Skip to content
Vectorlight.net

#40652b

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

HEX
#40652b
RGB
64, 101, 43
HSL
98.28°, 40.28%, 28.24%
OKLCH
0.46 0.1 135.51
Names
—
Lists

Codes

FormatValue
HEX#40652b
RGBrgb(64 101 43)
HSLhsl(98.28 40.28% 28.24%)
OKLCHoklch(0.46 0.1 135.51)
CMYKcmyk(36.63% 0% 57.43% 60.39%)
Android#ff40652b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #40652b;
background-color: #40652b;
bg-[#40652b]