Skip to content
Vectorlight.net

#40852d

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

HEX
#40852d
RGB
64, 133, 45
HSL
107.05°, 49.44%, 34.9%
OKLCH
0.55 0.14 139.53
Names
—
Lists

Codes

FormatValue
HEX#40852d
RGBrgb(64 133 45)
HSLhsl(107.05 49.44% 34.9%)
OKLCHoklch(0.55 0.14 139.53)
CMYKcmyk(51.88% 0% 66.17% 47.84%)
Android#ff40852d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #40852d;
background-color: #40852d;
bg-[#40852d]