Skip to content
Vectorlight.net

#308c32

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

HEX
#308c32
RGB
48, 140, 50
HSL
121.3°, 48.94%, 36.86%
OKLCH
0.57 0.15 143.52
Names
—
Lists

Codes

FormatValue
HEX#308c32
RGBrgb(48 140 50)
HSLhsl(121.3 48.94% 36.86%)
OKLCHoklch(0.57 0.15 143.52)
CMYKcmyk(65.71% 0% 64.29% 45.1%)
Android#ff308c32

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #308c32;
background-color: #308c32;
bg-[#308c32]