Skip to content
Vectorlight.net

#5a501f

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

HEX
#5a501f
RGB
90, 80, 31
HSL
49.83°, 48.76%, 23.73%
OKLCH
0.43 0.07 97.84
Names
—
Lists

Codes

FormatValue
HEX#5a501f
RGBrgb(90 80 31)
HSLhsl(49.83 48.76% 23.73%)
OKLCHoklch(0.43 0.07 97.84)
CMYKcmyk(0% 11.11% 65.56% 64.71%)
Android#ff5a501f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5a501f;
background-color: #5a501f;
bg-[#5a501f]