Skip to content
Vectorlight.net

#04562a

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

HEX
#04562a
RGB
4, 86, 42
HSL
147.8°, 91.11%, 17.65%
OKLCH
0.4 0.1 152.25
Names
—
Lists

Codes

FormatValue
HEX#04562a
RGBrgb(4 86 42)
HSLhsl(147.8 91.11% 17.65%)
OKLCHoklch(0.4 0.1 152.25)
CMYKcmyk(95.35% 0% 51.16% 66.27%)
Android#ff04562a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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