Skip to content
Vectorlight.net

#306d04

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

HEX
#306d04
RGB
48, 109, 4
HSL
94.86°, 92.92%, 22.16%
OKLCH
0.48 0.14 136.86
Names
—
Lists

Codes

FormatValue
HEX#306d04
RGBrgb(48 109 4)
HSLhsl(94.86 92.92% 22.16%)
OKLCHoklch(0.48 0.14 136.86)
CMYKcmyk(55.96% 0% 96.33% 57.25%)
Android#ff306d04

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #306d04;
background-color: #306d04;
bg-[#306d04]