Skip to content
Vectorlight.net

#305708

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

HEX
#305708
RGB
48, 87, 8
HSL
89.62°, 83.16%, 18.63%
OKLCH
0.41 0.11 133.59
Names
—
Lists

Codes

FormatValue
HEX#305708
RGBrgb(48 87 8)
HSLhsl(89.62 83.16% 18.63%)
OKLCHoklch(0.41 0.11 133.59)
CMYKcmyk(44.83% 0% 90.8% 65.88%)
Android#ff305708

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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