Skip to content
Vectorlight.net

#40762f

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

HEX
#40762f
RGB
64, 118, 47
HSL
105.63°, 43.03%, 32.35%
OKLCH
0.51 0.12 138.82
Names
—
Lists

Codes

FormatValue
HEX#40762f
RGBrgb(64 118 47)
HSLhsl(105.63 43.03% 32.35%)
OKLCHoklch(0.51 0.12 138.82)
CMYKcmyk(45.76% 0% 60.17% 53.73%)
Android#ff40762f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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