Skip to content
Vectorlight.net

#cd9f04

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

HEX
#cd9f04
RGB
205, 159, 4
HSL
46.27°, 96.17%, 40.98%
OKLCH
0.73 0.15 87.65
Names
—
Lists

Codes

FormatValue
HEX#cd9f04
RGBrgb(205 159 4)
HSLhsl(46.27 96.17% 40.98%)
OKLCHoklch(0.73 0.15 87.65)
CMYKcmyk(0% 22.44% 98.05% 19.61%)
Android#ffcd9f04

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

Recolor an SVG with this color

CSS

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