Skip to content
Vectorlight.net

#54871b

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

HEX
#54871b
RGB
84, 135, 27
HSL
88.33°, 66.67%, 31.76%
OKLCH
0.57 0.15 132.25
Names
—
Lists

Codes

FormatValue
HEX#54871b
RGBrgb(84 135 27)
HSLhsl(88.33 66.67% 31.76%)
OKLCHoklch(0.57 0.15 132.25)
CMYKcmyk(37.78% 0% 80% 47.06%)
Android#ff54871b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #54871b;
background-color: #54871b;
bg-[#54871b]