Skip to content
Vectorlight.net

#304808

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

HEX
#304808
RGB
48, 72, 8
HSL
82.5°, 80%, 15.69%
OKLCH
0.37 0.09 128.91
Names
—
Lists

Codes

FormatValue
HEX#304808
RGBrgb(48 72 8)
HSLhsl(82.5 80% 15.69%)
OKLCHoklch(0.37 0.09 128.91)
CMYKcmyk(33.33% 0% 88.89% 71.76%)
Android#ff304808

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #304808;
background-color: #304808;
bg-[#304808]