Skip to content
Vectorlight.net

#31390c

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

HEX
#31390c
RGB
49, 57, 12
HSL
70.67°, 65.22%, 13.53%
OKLCH
0.33 0.07 118.94
Names
—
Lists

Codes

FormatValue
HEX#31390c
RGBrgb(49 57 12)
HSLhsl(70.67 65.22% 13.53%)
OKLCHoklch(0.33 0.07 118.94)
CMYKcmyk(14.04% 0% 78.95% 77.65%)
Android#ff31390c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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