Skip to content
Vectorlight.net

#002b1f

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

HEX
#002b1f
RGB
0, 43, 31
HSL
163.26°, 100%, 8.43%
OKLCH
0.26 0.05 169.16
Names
—
Lists

Codes

FormatValue
HEX#002b1f
RGBrgb(0 43 31)
HSLhsl(163.26 100% 8.43%)
OKLCHoklch(0.26 0.05 169.16)
CMYKcmyk(100% 0% 27.91% 83.14%)
Android#ff002b1f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #002b1f;
background-color: #002b1f;
bg-[#002b1f]