Skip to content
Vectorlight.net

#407e28

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

HEX
#407e28
RGB
64, 126, 40
HSL
103.26°, 51.81%, 32.55%
OKLCH
0.53 0.14 138.21
Names
—
Lists

Codes

FormatValue
HEX#407e28
RGBrgb(64 126 40)
HSLhsl(103.26 51.81% 32.55%)
OKLCHoklch(0.53 0.14 138.21)
CMYKcmyk(49.21% 0% 68.25% 50.59%)
Android#ff407e28

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #407e28;
background-color: #407e28;
bg-[#407e28]