Skip to content
Vectorlight.net

#42675f

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

HEX
#42675f
RGB
66, 103, 95
HSL
167.03°, 21.89%, 33.14%
OKLCH
0.48 0.04 179.2
Names
—
Lists

Codes

FormatValue
HEX#42675f
RGBrgb(66 103 95)
HSLhsl(167.03 21.89% 33.14%)
OKLCHoklch(0.48 0.04 179.2)
CMYKcmyk(35.92% 0% 7.77% 59.61%)
Android#ff42675f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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