Skip to content
Vectorlight.net

#a6790b

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

HEX
#a6790b
RGB
166, 121, 11
HSL
42.58°, 87.57%, 34.71%
OKLCH
0.61 0.12 81.79
Names
—
Lists

Codes

FormatValue
HEX#a6790b
RGBrgb(166 121 11)
HSLhsl(42.58 87.57% 34.71%)
OKLCHoklch(0.61 0.12 81.79)
CMYKcmyk(0% 27.11% 93.37% 34.9%)
Android#ffa6790b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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