Skip to content
Vectorlight.net

#cd9f0c

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

HEX
#cd9f0c
RGB
205, 159, 12
HSL
45.7°, 88.94%, 42.55%
OKLCH
0.73 0.15 87.42
Names
—
Lists

Codes

FormatValue
HEX#cd9f0c
RGBrgb(205 159 12)
HSLhsl(45.7 88.94% 42.55%)
OKLCHoklch(0.73 0.15 87.42)
CMYKcmyk(0% 22.44% 94.15% 19.61%)
Android#ffcd9f0c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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