Skip to content
Vectorlight.net

#c5aa17

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

HEX
#c5aa17
RGB
197, 170, 23
HSL
50.69°, 79.09%, 43.14%
OKLCH
0.74 0.15 97.22
Names
—
Lists

Codes

FormatValue
HEX#c5aa17
RGBrgb(197 170 23)
HSLhsl(50.69 79.09% 43.14%)
OKLCHoklch(0.74 0.15 97.22)
CMYKcmyk(0% 13.71% 88.32% 22.75%)
Android#ffc5aa17

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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