Skip to content
Vectorlight.net

#31402a

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

HEX
#31402a
RGB
49, 64, 42
HSL
100.91°, 20.75%, 20.78%
OKLCH
0.35 0.04 135.97
Names
—
Lists

Codes

FormatValue
HEX#31402a
RGBrgb(49 64 42)
HSLhsl(100.91 20.75% 20.78%)
OKLCHoklch(0.35 0.04 135.97)
CMYKcmyk(23.44% 0% 34.38% 74.9%)
Android#ff31402a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #31402a;
background-color: #31402a;
bg-[#31402a]