Skip to content
Vectorlight.net

#30795b

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

HEX
#30795b
RGB
48, 121, 91
HSL
155.34°, 43.2%, 33.14%
OKLCH
0.52 0.09 163.41
Names
—
Lists

Codes

FormatValue
HEX#30795b
RGBrgb(48 121 91)
HSLhsl(155.34 43.2% 33.14%)
OKLCHoklch(0.52 0.09 163.41)
CMYKcmyk(60.33% 0% 24.79% 52.55%)
Android#ff30795b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #30795b;
background-color: #30795b;
bg-[#30795b]