Skip to content
Vectorlight.net

#04e252

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

HEX
#04e252
RGB
4, 226, 82
HSL
141.08°, 96.52%, 45.1%
OKLCH
0.8 0.24 146.7
Names
—
Lists

Codes

FormatValue
HEX#04e252
RGBrgb(4 226 82)
HSLhsl(141.08 96.52% 45.1%)
OKLCHoklch(0.8 0.24 146.7)
CMYKcmyk(98.23% 0% 63.72% 11.37%)
Android#ff04e252

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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