Skip to content
Vectorlight.net

#04ac34

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

HEX
#04ac34
RGB
4, 172, 52
HSL
137.14°, 95.45%, 34.51%
OKLCH
0.65 0.2 145.55
Names
—
Lists

Codes

FormatValue
HEX#04ac34
RGBrgb(4 172 52)
HSLhsl(137.14 95.45% 34.51%)
OKLCHoklch(0.65 0.2 145.55)
CMYKcmyk(97.67% 0% 69.77% 32.55%)
Android#ff04ac34

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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