Skip to content
Vectorlight.net

#307e04

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

HEX
#307e04
RGB
48, 126, 4
HSL
98.36°, 93.85%, 25.49%
OKLCH
0.52 0.16 138.41
Names
—
Lists

Codes

FormatValue
HEX#307e04
RGBrgb(48 126 4)
HSLhsl(98.36 93.85% 25.49%)
OKLCHoklch(0.52 0.16 138.41)
CMYKcmyk(61.9% 0% 96.83% 50.59%)
Android#ff307e04

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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