Skip to content
Vectorlight.net

#307f40

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

HEX
#307f40
RGB
48, 127, 64
HSL
132.15°, 45.14%, 34.31%
OKLCH
0.53 0.12 147.6
Names
—
Lists

Codes

FormatValue
HEX#307f40
RGBrgb(48 127 64)
HSLhsl(132.15 45.14% 34.31%)
OKLCHoklch(0.53 0.12 147.6)
CMYKcmyk(62.2% 0% 49.61% 50.2%)
Android#ff307f40

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #307f40;
background-color: #307f40;
bg-[#307f40]