Skip to content
Vectorlight.net

#142c2f

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

HEX
#142c2f
RGB
20, 44, 47
HSL
186.67°, 40.3%, 13.14%
OKLCH
0.28 0.03 206.03
Names
—
Lists

Codes

FormatValue
HEX#142c2f
RGBrgb(20 44 47)
HSLhsl(186.67 40.3% 13.14%)
OKLCHoklch(0.28 0.03 206.03)
CMYKcmyk(57.45% 6.38% 0% 81.57%)
Android#ff142c2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #142c2f;
background-color: #142c2f;
bg-[#142c2f]