Skip to content
Vectorlight.net

#54831f

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

HEX
#54831f
RGB
84, 131, 31
HSL
88.2°, 61.73%, 31.76%
OKLCH
0.56 0.14 131.8
Names
—
Lists

Codes

FormatValue
HEX#54831f
RGBrgb(84 131 31)
HSLhsl(88.2 61.73% 31.76%)
OKLCHoklch(0.56 0.14 131.8)
CMYKcmyk(35.88% 0% 76.34% 48.63%)
Android#ff54831f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #54831f;
background-color: #54831f;
bg-[#54831f]