Skip to content
Vectorlight.net

#477e2a

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

HEX
#477e2a
RGB
71, 126, 42
HSL
99.29°, 50%, 32.94%
OKLCH
0.54 0.13 136.52
Names
—
Lists

Codes

FormatValue
HEX#477e2a
RGBrgb(71 126 42)
HSLhsl(99.29 50% 32.94%)
OKLCHoklch(0.54 0.13 136.52)
CMYKcmyk(43.65% 0% 66.67% 50.59%)
Android#ff477e2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #477e2a;
background-color: #477e2a;
bg-[#477e2a]