Skip to content
Vectorlight.net

#31990c

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

HEX
#31990c
RGB
49, 153, 12
HSL
104.26°, 85.45%, 32.35%
OKLCH
0.6 0.19 140
Names
—
Lists

Codes

FormatValue
HEX#31990c
RGBrgb(49 153 12)
HSLhsl(104.26 85.45% 32.35%)
OKLCHoklch(0.6 0.19 140)
CMYKcmyk(67.97% 0% 92.16% 40%)
Android#ff31990c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.68:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.69:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#31990c"
Gradient stop
<stop stop-color="#31990c"/>
CSS variable + fill
:root { --c: #31990c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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