Skip to content
Vectorlight.net

#40766e

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

HEX
#40766e
RGB
64, 118, 110
HSL
171.11°, 29.67%, 35.69%
OKLCH
0.53 0.06 183.39
Names
—
Lists

Codes

FormatValue
HEX#40766e
RGBrgb(64 118 110)
HSLhsl(171.11 29.67% 35.69%)
OKLCHoklch(0.53 0.06 183.39)
CMYKcmyk(45.76% 0% 6.78% 53.73%)
Android#ff40766e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #40766e;
background-color: #40766e;
bg-[#40766e]