Skip to content
Vectorlight.net

#40775f

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

HEX
#40775f
RGB
64, 119, 95
HSL
153.82°, 30.05%, 35.88%
OKLCH
0.52 0.07 163.91
Names
—
Lists

Codes

FormatValue
HEX#40775f
RGBrgb(64 119 95)
HSLhsl(153.82 30.05% 35.88%)
OKLCHoklch(0.52 0.07 163.91)
CMYKcmyk(46.22% 0% 20.17% 53.33%)
Android#ff40775f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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