Skip to content
Vectorlight.net

#478d2f

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

HEX
#478d2f
RGB
71, 141, 47
HSL
104.68°, 50%, 36.86%
OKLCH
0.58 0.15 138.71
Names
—
Lists

Codes

FormatValue
HEX#478d2f
RGBrgb(71 141 47)
HSLhsl(104.68 50% 36.86%)
OKLCHoklch(0.58 0.15 138.71)
CMYKcmyk(49.65% 0% 66.67% 44.71%)
Android#ff478d2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.10:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.11:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#478d2f"
Gradient stop
<stop stop-color="#478d2f"/>
CSS variable + fill
:root { --c: #478d2f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #478d2f;
background-color: #478d2f;
bg-[#478d2f]