Skip to content
Vectorlight.net

#ccaf47

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

HEX
#ccaf47
RGB
204, 175, 71
HSL
46.92°, 56.6%, 53.92%
OKLCH
0.76 0.13 93.52
Names
—
Lists

Codes

FormatValue
HEX#ccaf47
RGBrgb(204 175 71)
HSLhsl(46.92 56.6% 53.92%)
OKLCHoklch(0.76 0.13 93.52)
CMYKcmyk(0% 14.22% 65.2% 20%)
Android#ffccaf47

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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