Skip to content
Vectorlight.net

#51682f

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

HEX
#51682f
RGB
81, 104, 47
HSL
84.21°, 37.75%, 29.61%
OKLCH
0.48 0.09 127.52
Names
—
Lists

Codes

FormatValue
HEX#51682f
RGBrgb(81 104 47)
HSLhsl(84.21 37.75% 29.61%)
OKLCHoklch(0.48 0.09 127.52)
CMYKcmyk(22.12% 0% 54.81% 59.22%)
Android#ff51682f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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