Skip to content
Vectorlight.net

#04562d

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

HEX
#04562d
RGB
4, 86, 45
HSL
150°, 91.11%, 17.65%
OKLCH
0.4 0.1 153.79
Names
—
Lists

Codes

FormatValue
HEX#04562d
RGBrgb(4 86 45)
HSLhsl(150 91.11% 17.65%)
OKLCHoklch(0.4 0.1 153.79)
CMYKcmyk(95.35% 0% 47.67% 66.27%)
Android#ff04562d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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