Skip to content
Vectorlight.net

#31402e

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

HEX
#31402e
RGB
49, 64, 46
HSL
110°, 16.36%, 21.57%
OKLCH
0.35 0.04 140.38
Names
—
Lists

Codes

FormatValue
HEX#31402e
RGBrgb(49 64 46)
HSLhsl(110 16.36% 21.57%)
OKLCHoklch(0.35 0.04 140.38)
CMYKcmyk(23.44% 0% 28.13% 74.9%)
Android#ff31402e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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