Skip to content
Vectorlight.net

#0c321a

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

HEX
#0c321a
RGB
12, 50, 26
HSL
142.11°, 61.29%, 12.16%
OKLCH
0.28 0.06 152.33
Names
—
Lists

Codes

FormatValue
HEX#0c321a
RGBrgb(12 50 26)
HSLhsl(142.11 61.29% 12.16%)
OKLCHoklch(0.28 0.06 152.33)
CMYKcmyk(76% 0% 48% 80.39%)
Android#ff0c321a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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