Skip to content
Vectorlight.net

#12840d

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

HEX
#12840d
RGB
18, 132, 13
HSL
117.48°, 82.07%, 28.43%
OKLCH
0.53 0.17 142.35
Names
—
Lists

Codes

FormatValue
HEX#12840d
RGBrgb(18 132 13)
HSLhsl(117.48 82.07% 28.43%)
OKLCHoklch(0.53 0.17 142.35)
CMYKcmyk(86.36% 0% 90.15% 48.24%)
Android#ff12840d

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="#12840d"
Gradient stop
<stop stop-color="#12840d"/>
CSS variable + fill
:root { --c: #12840d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #12840d;
background-color: #12840d;
bg-[#12840d]