Skip to content
Vectorlight.net

#31512e

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

HEX
#31512e
RGB
49, 81, 46
HSL
114.86°, 27.56%, 24.9%
OKLCH
0.4 0.07 142.26
Names
—
Lists

Codes

FormatValue
HEX#31512e
RGBrgb(49 81 46)
HSLhsl(114.86 27.56% 24.9%)
OKLCHoklch(0.4 0.07 142.26)
CMYKcmyk(39.51% 0% 43.21% 68.24%)
Android#ff31512e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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