Skip to content
Vectorlight.net

#047227

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

HEX
#047227
RGB
4, 114, 39
HSL
139.09°, 93.22%, 23.14%
OKLCH
0.48 0.14 146.91
Names
—
Lists

Codes

FormatValue
HEX#047227
RGBrgb(4 114 39)
HSLhsl(139.09 93.22% 23.14%)
OKLCHoklch(0.48 0.14 146.91)
CMYKcmyk(96.49% 0% 65.79% 55.29%)
Android#ff047227

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #047227;
background-color: #047227;
bg-[#047227]