Skip to content
Vectorlight.net

#56791c

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

HEX
#56791c
RGB
86, 121, 28
HSL
82.58°, 62.42%, 29.22%
OKLCH
0.53 0.13 128.36
Names
—
Lists

Codes

FormatValue
HEX#56791c
RGBrgb(86 121 28)
HSLhsl(82.58 62.42% 29.22%)
OKLCHoklch(0.53 0.13 128.36)
CMYKcmyk(28.93% 0% 76.86% 52.55%)
Android#ff56791c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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

Recolor an SVG with this color

CSS

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