Skip to content
Vectorlight.net

#04875d

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

HEX
#04875d
RGB
4, 135, 93
HSL
160.76°, 94.24%, 27.25%
OKLCH
0.55 0.12 162.61
Names
—
Lists

Codes

FormatValue
HEX#04875d
RGBrgb(4 135 93)
HSLhsl(160.76 94.24% 27.25%)
OKLCHoklch(0.55 0.12 162.61)
CMYKcmyk(97.04% 0% 31.11% 47.06%)
Android#ff04875d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.53:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.62:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#04875d"
Gradient stop
<stop stop-color="#04875d"/>
CSS variable + fill
:root { --c: #04875d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #04875d;
background-color: #04875d;
bg-[#04875d]