Skip to content
Vectorlight.net

#12512e

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

HEX
#12512e
RGB
18, 81, 46
HSL
146.67°, 63.64%, 19.41%
OKLCH
0.39 0.09 154.19
Names
—
Lists

Codes

FormatValue
HEX#12512e
RGBrgb(18 81 46)
HSLhsl(146.67 63.64% 19.41%)
OKLCHoklch(0.39 0.09 154.19)
CMYKcmyk(77.78% 0% 43.21% 68.24%)
Android#ff12512e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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