Skip to content
Vectorlight.net

#047a21

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

HEX
#047a21
RGB
4, 122, 33
HSL
134.75°, 93.65%, 24.71%
OKLCH
0.5 0.16 145.25
Names
—
Lists

Codes

FormatValue
HEX#047a21
RGBrgb(4 122 33)
HSLhsl(134.75 93.65% 24.71%)
OKLCHoklch(0.5 0.16 145.25)
CMYKcmyk(96.72% 0% 72.95% 52.16%)
Android#ff047a21

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #047a21;
background-color: #047a21;
bg-[#047a21]