Skip to content
Vectorlight.net

#306131

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

HEX
#306131
RGB
48, 97, 49
HSL
121.22°, 33.79%, 28.43%
OKLCH
0.45 0.09 144.21
Names
—
Lists

Codes

FormatValue
HEX#306131
RGBrgb(48 97 49)
HSLhsl(121.22 33.79% 28.43%)
OKLCHoklch(0.45 0.09 144.21)
CMYKcmyk(50.52% 0% 49.48% 61.96%)
Android#ff306131

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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