Skip to content
Vectorlight.net

#306334

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

HEX
#306334
RGB
48, 99, 52
HSL
124.71°, 34.69%, 28.82%
OKLCH
0.45 0.09 145.44
Names
—
Lists

Codes

FormatValue
HEX#306334
RGBrgb(48 99 52)
HSLhsl(124.71 34.69% 28.82%)
OKLCHoklch(0.45 0.09 145.44)
CMYKcmyk(51.52% 0% 47.47% 61.18%)
Android#ff306334

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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