Skip to content
Vectorlight.net

#12874f

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

HEX
#12874f
RGB
18, 135, 79
HSL
151.28°, 76.47%, 30%
OKLCH
0.55 0.13 155.35
Names
—
Lists

Codes

FormatValue
HEX#12874f
RGBrgb(18 135 79)
HSLhsl(151.28 76.47% 30%)
OKLCHoklch(0.55 0.13 155.35)
CMYKcmyk(86.67% 0% 41.48% 47.06%)
Android#ff12874f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.56:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.60:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

color / background
color: #12874f;
background-color: #12874f;
bg-[#12874f]