Skip to content
Vectorlight.net

#4f511f

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

HEX
#4f511f
RGB
79, 81, 31
HSL
62.4°, 44.64%, 21.96%
OKLCH
0.42 0.07 111.19
Names
—
Lists

Codes

FormatValue
HEX#4f511f
RGBrgb(79 81 31)
HSLhsl(62.4 44.64% 21.96%)
OKLCHoklch(0.42 0.07 111.19)
CMYKcmyk(2.47% 0% 61.73% 68.24%)
Android#ff4f511f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4f511f;
background-color: #4f511f;
bg-[#4f511f]