Skip to content
Vectorlight.net

#a7791b

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

HEX
#a7791b
RGB
167, 121, 27
HSL
40.29°, 72.16%, 38.04%
OKLCH
0.61 0.12 79.68
Names
—
Lists

Codes

FormatValue
HEX#a7791b
RGBrgb(167 121 27)
HSLhsl(40.29 72.16% 38.04%)
OKLCHoklch(0.61 0.12 79.68)
CMYKcmyk(0% 27.54% 83.83% 34.51%)
Android#ffa7791b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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