Skip to content
Vectorlight.net

#54821c

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

HEX
#54821c
RGB
84, 130, 28
HSL
87.06°, 64.56%, 30.98%
OKLCH
0.55 0.14 131.34
Names
—
Lists

Codes

FormatValue
HEX#54821c
RGBrgb(84 130 28)
HSLhsl(87.06 64.56% 30.98%)
OKLCHoklch(0.55 0.14 131.34)
CMYKcmyk(35.38% 0% 78.46% 49.02%)
Android#ff54821c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #54821c;
background-color: #54821c;
bg-[#54821c]