Skip to content
Vectorlight.net

#318031

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

HEX
#318031
RGB
49, 128, 49
HSL
120°, 44.63%, 34.71%
OKLCH
0.53 0.14 143.33
Names
—
Lists

Codes

FormatValue
HEX#318031
RGBrgb(49 128 49)
HSLhsl(120 44.63% 34.71%)
OKLCHoklch(0.53 0.14 143.33)
CMYKcmyk(61.72% 0% 61.72% 49.8%)
Android#ff318031

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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