Skip to content
Vectorlight.net

#152b2a

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

HEX
#152b2a
RGB
21, 43, 42
HSL
177.27°, 34.38%, 12.55%
OKLCH
0.27 0.03 191.86
Names
—
Lists

Codes

FormatValue
HEX#152b2a
RGBrgb(21 43 42)
HSLhsl(177.27 34.38% 12.55%)
OKLCHoklch(0.27 0.03 191.86)
CMYKcmyk(51.16% 0% 2.33% 83.14%)
Android#ff152b2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #152b2a;
background-color: #152b2a;
bg-[#152b2a]