Skip to content
Vectorlight.net

#40602c

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

HEX
#40602c
RGB
64, 96, 44
HSL
96.92°, 37.14%, 27.45%
OKLCH
0.45 0.09 134.68
Names
—
Lists

Codes

FormatValue
HEX#40602c
RGBrgb(64 96 44)
HSLhsl(96.92 37.14% 27.45%)
OKLCHoklch(0.45 0.09 134.68)
CMYKcmyk(33.33% 0% 54.17% 62.35%)
Android#ff40602c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #40602c;
background-color: #40602c;
bg-[#40602c]