Skip to content
Vectorlight.net

#04cf52

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

HEX
#04cf52
RGB
4, 207, 82
HSL
143.05°, 96.21%, 41.37%
OKLCH
0.75 0.22 147.67
Names
—
Lists

Codes

FormatValue
HEX#04cf52
RGBrgb(4 207 82)
HSLhsl(143.05 96.21% 41.37%)
OKLCHoklch(0.75 0.22 147.67)
CMYKcmyk(98.07% 0% 60.39% 18.82%)
Android#ff04cf52

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #04cf52;
background-color: #04cf52;
bg-[#04cf52]