Skip to content
Vectorlight.net

#cdaf0c

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

HEX
#cdaf0c
RGB
205, 175, 12
HSL
50.67°, 88.94%, 42.55%
OKLCH
0.76 0.15 96.48
Names
—
Lists

Codes

FormatValue
HEX#cdaf0c
RGBrgb(205 175 12)
HSLhsl(50.67 88.94% 42.55%)
OKLCHoklch(0.76 0.15 96.48)
CMYKcmyk(0% 14.63% 94.15% 19.61%)
Android#ffcdaf0c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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