Skip to content
Vectorlight.net

#316331

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

HEX
#316331
RGB
49, 99, 49
HSL
120°, 33.78%, 29.02%
OKLCH
0.45 0.1 143.79
Names
—
Lists

Codes

FormatValue
HEX#316331
RGBrgb(49 99 49)
HSLhsl(120 33.78% 29.02%)
OKLCHoklch(0.45 0.1 143.79)
CMYKcmyk(50.51% 0% 50.51% 61.18%)
Android#ff316331

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #316331;
background-color: #316331;
bg-[#316331]