Skip to content
Vectorlight.net

#12371c

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

HEX
#12371c
RGB
18, 55, 28
HSL
136.22°, 50.68%, 14.31%
OKLCH
0.3 0.06 149.79
Names
—
Lists

Codes

FormatValue
HEX#12371c
RGBrgb(18 55 28)
HSLhsl(136.22 50.68% 14.31%)
OKLCHoklch(0.3 0.06 149.79)
CMYKcmyk(67.27% 0% 49.09% 78.43%)
Android#ff12371c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #12371c;
background-color: #12371c;
bg-[#12371c]