Skip to content
Vectorlight.net

#15840b

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

HEX
#15840b
RGB
21, 132, 11
HSL
115.04°, 84.62%, 28.04%
OKLCH
0.53 0.17 142.05
Names
—
Lists

Codes

FormatValue
HEX#15840b
RGBrgb(21 132 11)
HSLhsl(115.04 84.62% 28.04%)
OKLCHoklch(0.53 0.17 142.05)
CMYKcmyk(84.09% 0% 91.67% 48.24%)
Android#ff15840b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #15840b;
background-color: #15840b;
bg-[#15840b]