Skip to content
Vectorlight.net

#04774a

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

HEX
#04774a
RGB
4, 119, 74
HSL
156.52°, 93.5%, 24.12%
OKLCH
0.5 0.12 158.36
Names
—
Lists

Codes

FormatValue
HEX#04774a
RGBrgb(4 119 74)
HSLhsl(156.52 93.5% 24.12%)
OKLCHoklch(0.5 0.12 158.36)
CMYKcmyk(96.64% 0% 37.82% 53.33%)
Android#ff04774a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #04774a;
background-color: #04774a;
bg-[#04774a]