Skip to content
Vectorlight.net

#154012

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

HEX
#154012
RGB
21, 64, 18
HSL
116.09°, 56.1%, 16.08%
OKLCH
0.33 0.09 142.25
Names
—
Lists

Codes

FormatValue
HEX#154012
RGBrgb(21 64 18)
HSLhsl(116.09 56.1% 16.08%)
OKLCHoklch(0.33 0.09 142.25)
CMYKcmyk(67.19% 0% 71.88% 74.9%)
Android#ff154012

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #154012;
background-color: #154012;
bg-[#154012]