Skip to content
Vectorlight.net

#40735a

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

HEX
#40735a
RGB
64, 115, 90
HSL
150.59°, 28.49%, 35.1%
OKLCH
0.51 0.07 161.32
Names
—
Lists

Codes

FormatValue
HEX#40735a
RGBrgb(64 115 90)
HSLhsl(150.59 28.49% 35.1%)
OKLCHoklch(0.51 0.07 161.32)
CMYKcmyk(44.35% 0% 21.74% 54.9%)
Android#ff40735a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #40735a;
background-color: #40735a;
bg-[#40735a]