Skip to content
Vectorlight.net

#309a2b

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

HEX
#309a2b
RGB
48, 154, 43
HSL
117.3°, 56.35%, 38.63%
OKLCH
0.6 0.18 142.43
Names
—
Lists

Codes

FormatValue
HEX#309a2b
RGBrgb(48 154 43)
HSLhsl(117.3 56.35% 38.63%)
OKLCHoklch(0.6 0.18 142.43)
CMYKcmyk(68.83% 0% 72.08% 39.61%)
Android#ff309a2b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #309a2b;
background-color: #309a2b;
bg-[#309a2b]