Skip to content
Vectorlight.net

#02422f

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

HEX
#02422f
RGB
2, 66, 47
HSL
162.19°, 94.12%, 13.33%
OKLCH
0.34 0.07 166.28
Names
—
Lists

Codes

FormatValue
HEX#02422f
RGBrgb(2 66 47)
HSLhsl(162.19 94.12% 13.33%)
OKLCHoklch(0.34 0.07 166.28)
CMYKcmyk(96.97% 0% 28.79% 74.12%)
Android#ff02422f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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