Skip to content
Vectorlight.net

#12841b

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

HEX
#12841b
RGB
18, 132, 27
HSL
124.74°, 76%, 29.41%
OKLCH
0.53 0.17 143.46
Names
—
Lists

Codes

FormatValue
HEX#12841b
RGBrgb(18 132 27)
HSLhsl(124.74 76% 29.41%)
OKLCHoklch(0.53 0.17 143.46)
CMYKcmyk(86.36% 0% 79.55% 48.24%)
Android#ff12841b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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