Skip to content
Vectorlight.net

#31450f

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

HEX
#31450f
RGB
49, 69, 15
HSL
82.22°, 64.29%, 16.47%
OKLCH
0.36 0.08 127.73
Names
—
Lists

Codes

FormatValue
HEX#31450f
RGBrgb(49 69 15)
HSLhsl(82.22 64.29% 16.47%)
OKLCHoklch(0.36 0.08 127.73)
CMYKcmyk(28.99% 0% 78.26% 72.94%)
Android#ff31450f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #31450f;
background-color: #31450f;
bg-[#31450f]