Skip to content
Vectorlight.net

#12812e

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

HEX
#12812e
RGB
18, 129, 46
HSL
135.14°, 75.51%, 28.82%
OKLCH
0.53 0.15 146.42
Names
—
Lists

Codes

FormatValue
HEX#12812e
RGBrgb(18 129 46)
HSLhsl(135.14 75.51% 28.82%)
OKLCHoklch(0.53 0.15 146.42)
CMYKcmyk(86.05% 0% 64.34% 49.41%)
Android#ff12812e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #12812e;
background-color: #12812e;
bg-[#12812e]