Skip to content
Vectorlight.net

#1b421e

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

HEX
#1b421e
RGB
27, 66, 30
HSL
124.62°, 41.94%, 18.24%
OKLCH
0.34 0.08 145.18
Names
—
Lists

Codes

FormatValue
HEX#1b421e
RGBrgb(27 66 30)
HSLhsl(124.62 41.94% 18.24%)
OKLCHoklch(0.34 0.08 145.18)
CMYKcmyk(59.09% 0% 54.55% 74.12%)
Android#ff1b421e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1b421e;
background-color: #1b421e;
bg-[#1b421e]