Skip to content
Vectorlight.net

#c6a528

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

HEX
#c6a528
RGB
198, 165, 40
HSL
47.47°, 66.39%, 46.67%
OKLCH
0.73 0.14 93.03
Names
—
Lists

Codes

FormatValue
HEX#c6a528
RGBrgb(198 165 40)
HSLhsl(47.47 66.39% 46.67%)
OKLCHoklch(0.73 0.14 93.03)
CMYKcmyk(0% 16.67% 79.8% 22.35%)
Android#ffc6a528

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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