Skip to content
Vectorlight.net

#01562a

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

HEX
#01562a
RGB
1, 86, 42
HSL
148.94°, 97.7%, 17.06%
OKLCH
0.4 0.1 152.56
Names
—
Lists

Codes

FormatValue
HEX#01562a
RGBrgb(1 86 42)
HSLhsl(148.94 97.7% 17.06%)
OKLCHoklch(0.4 0.1 152.56)
CMYKcmyk(98.84% 0% 51.16% 66.27%)
Android#ff01562a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #01562a;
background-color: #01562a;
bg-[#01562a]