Skip to content
Vectorlight.net

#04cd02

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

HEX
#04cd02
RGB
4, 205, 2
HSL
119.41°, 98.07%, 40.59%
OKLCH
0.74 0.25 142.47
Names
—
Lists

Codes

FormatValue
HEX#04cd02
RGBrgb(4 205 2)
HSLhsl(119.41 98.07% 40.59%)
OKLCHoklch(0.74 0.25 142.47)
CMYKcmyk(98.05% 0% 99.02% 19.61%)
Android#ff04cd02

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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