Skip to content
Vectorlight.net

#1e540b

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

HEX
#1e540b
RGB
30, 84, 11
HSL
104.38°, 76.84%, 18.63%
OKLCH
0.39 0.12 139.34
Names
—
Lists

Codes

FormatValue
HEX#1e540b
RGBrgb(30 84 11)
HSLhsl(104.38 76.84% 18.63%)
OKLCHoklch(0.39 0.12 139.34)
CMYKcmyk(64.29% 0% 86.9% 67.06%)
Android#ff1e540b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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