Skip to content
Vectorlight.net

#c6ab4e

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

HEX
#c6ab4e
RGB
198, 171, 78
HSL
46.5°, 51.28%, 54.12%
OKLCH
0.75 0.12 93.19
Names
—
Lists

Codes

FormatValue
HEX#c6ab4e
RGBrgb(198 171 78)
HSLhsl(46.5 51.28% 54.12%)
OKLCHoklch(0.75 0.12 93.19)
CMYKcmyk(0% 13.64% 60.61% 22.35%)
Android#ffc6ab4e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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