Skip to content
Vectorlight.net

#c2af12

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

HEX
#c2af12
RGB
194, 175, 18
HSL
53.52°, 83.02%, 41.57%
OKLCH
0.75 0.15 101.34
Names
—
Lists

Codes

FormatValue
HEX#c2af12
RGBrgb(194 175 18)
HSLhsl(53.52 83.02% 41.57%)
OKLCHoklch(0.75 0.15 101.34)
CMYKcmyk(0% 9.79% 90.72% 23.92%)
Android#ffc2af12

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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