Skip to content
Vectorlight.net

#01872c

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

HEX
#01872c
RGB
1, 135, 44
HSL
139.25°, 98.53%, 26.67%
OKLCH
0.54 0.16 146.43
Names
—
Lists

Codes

FormatValue
HEX#01872c
RGBrgb(1 135 44)
HSLhsl(139.25 98.53% 26.67%)
OKLCHoklch(0.54 0.16 146.43)
CMYKcmyk(99.26% 0% 67.41% 47.06%)
Android#ff01872c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #01872c;
background-color: #01872c;
bg-[#01872c]