Skip to content
Vectorlight.net

#54841c

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

HEX
#54841c
RGB
84, 132, 28
HSL
87.69°, 65%, 31.37%
OKLCH
0.56 0.14 131.75
Names
—
Lists

Codes

FormatValue
HEX#54841c
RGBrgb(84 132 28)
HSLhsl(87.69 65% 31.37%)
OKLCHoklch(0.56 0.14 131.75)
CMYKcmyk(36.36% 0% 78.79% 48.24%)
Android#ff54841c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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