Skip to content
Vectorlight.net

#0c874a

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

HEX
#0c874a
RGB
12, 135, 74
HSL
150.24°, 83.67%, 28.82%
OKLCH
0.55 0.14 153.75
Names
—
Lists

Codes

FormatValue
HEX#0c874a
RGBrgb(12 135 74)
HSLhsl(150.24 83.67% 28.82%)
OKLCHoklch(0.55 0.14 153.75)
CMYKcmyk(91.11% 0% 45.19% 47.06%)
Android#ff0c874a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0c874a;
background-color: #0c874a;
bg-[#0c874a]