Skip to content
Vectorlight.net

#047242

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

HEX
#047242
RGB
4, 114, 66
HSL
153.82°, 93.22%, 23.14%
OKLCH
0.49 0.12 155.98
Names
—
Lists

Codes

FormatValue
HEX#047242
RGBrgb(4 114 66)
HSLhsl(153.82 93.22% 23.14%)
OKLCHoklch(0.49 0.12 155.98)
CMYKcmyk(96.49% 0% 42.11% 55.29%)
Android#ff047242

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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