Skip to content
Vectorlight.net

#12170d

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

HEX
#12170d
RGB
18, 23, 13
HSL
90°, 27.78%, 7.06%
OKLCH
0.2 0.02 129.73
Names
—
Lists

Codes

FormatValue
HEX#12170d
RGBrgb(18 23 13)
HSLhsl(90 27.78% 7.06%)
OKLCHoklch(0.2 0.02 129.73)
CMYKcmyk(21.74% 0% 43.48% 90.98%)
Android#ff12170d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #12170d;
background-color: #12170d;
bg-[#12170d]