Skip to content
Vectorlight.net

#166342

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

HEX
#166342
RGB
22, 99, 66
HSL
154.29°, 63.64%, 23.73%
OKLCH
0.45 0.09 159.95
Names
—
Lists

Codes

FormatValue
HEX#166342
RGBrgb(22 99 66)
HSLhsl(154.29 63.64% 23.73%)
OKLCHoklch(0.45 0.09 159.95)
CMYKcmyk(77.78% 0% 33.33% 61.18%)
Android#ff166342

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #166342;
background-color: #166342;
bg-[#166342]