Skip to content
Vectorlight.net

#30951f

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

HEX
#30951f
RGB
48, 149, 31
HSL
111.36°, 65.56%, 35.29%
OKLCH
0.59 0.18 141.14
Names
—
Lists

Codes

FormatValue
HEX#30951f
RGBrgb(48 149 31)
HSLhsl(111.36 65.56% 35.29%)
OKLCHoklch(0.59 0.18 141.14)
CMYKcmyk(67.79% 0% 79.19% 41.57%)
Android#ff30951f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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