Skip to content
Vectorlight.net

#42564e

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

HEX
#42564e
RGB
66, 86, 78
HSL
156°, 13.16%, 29.8%
OKLCH
0.43 0.03 168.63
Names
—
Lists

Codes

FormatValue
HEX#42564e
RGBrgb(66 86 78)
HSLhsl(156 13.16% 29.8%)
OKLCHoklch(0.43 0.03 168.63)
CMYKcmyk(23.26% 0% 9.3% 66.27%)
Android#ff42564e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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