Skip to content
Vectorlight.net

#0c4530

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

HEX
#0c4530
RGB
12, 69, 48
HSL
157.89°, 70.37%, 15.88%
OKLCH
0.35 0.07 163.38
Names
—
Lists

Codes

FormatValue
HEX#0c4530
RGBrgb(12 69 48)
HSLhsl(157.89 70.37% 15.88%)
OKLCHoklch(0.35 0.07 163.38)
CMYKcmyk(82.61% 0% 30.43% 72.94%)
Android#ff0c4530

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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