Skip to content
Vectorlight.net

#407542

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

HEX
#407542
RGB
64, 117, 66
HSL
122.26°, 29.28%, 35.49%
OKLCH
0.51 0.1 144.78
Names
—
Lists

Codes

FormatValue
HEX#407542
RGBrgb(64 117 66)
HSLhsl(122.26 29.28% 35.49%)
OKLCHoklch(0.51 0.1 144.78)
CMYKcmyk(45.3% 0% 43.59% 54.12%)
Android#ff407542

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #407542;
background-color: #407542;
bg-[#407542]