Skip to content
Vectorlight.net

#40602f

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

HEX
#40602f
RGB
64, 96, 47
HSL
99.18°, 34.27%, 28.04%
OKLCH
0.45 0.08 135.66
Names
—
Lists

Codes

FormatValue
HEX#40602f
RGBrgb(64 96 47)
HSLhsl(99.18 34.27% 28.04%)
OKLCHoklch(0.45 0.08 135.66)
CMYKcmyk(33.33% 0% 51.04% 62.35%)
Android#ff40602f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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