Skip to content
Vectorlight.net

#c7ac18

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

HEX
#c7ac18
RGB
199, 172, 24
HSL
50.74°, 78.48%, 43.73%
OKLCH
0.75 0.15 97.34
Names
—
Lists

Codes

FormatValue
HEX#c7ac18
RGBrgb(199 172 24)
HSLhsl(50.74 78.48% 43.73%)
OKLCHoklch(0.75 0.15 97.34)
CMYKcmyk(0% 13.57% 87.94% 21.96%)
Android#ffc7ac18

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.34: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="#c7ac18"
Gradient stop
<stop stop-color="#c7ac18"/>
CSS variable + fill
:root { --c: #c7ac18; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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