Skip to content
Vectorlight.net

#a5791e

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

HEX
#a5791e
RGB
165, 121, 30
HSL
40.44°, 69.23%, 38.24%
OKLCH
0.6 0.11 80.45
Names
—
Lists

Codes

FormatValue
HEX#a5791e
RGBrgb(165 121 30)
HSLhsl(40.44 69.23% 38.24%)
OKLCHoklch(0.6 0.11 80.45)
CMYKcmyk(0% 26.67% 81.82% 35.29%)
Android#ffa5791e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #a5791e;
background-color: #a5791e;
bg-[#a5791e]