Skip to content
Vectorlight.net

#cd9a02

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

HEX
#cd9a02
RGB
205, 154, 2
HSL
44.93°, 98.07%, 40.59%
OKLCH
0.72 0.15 84.69
Names
—
Lists

Codes

FormatValue
HEX#cd9a02
RGBrgb(205 154 2)
HSLhsl(44.93 98.07% 40.59%)
OKLCHoklch(0.72 0.15 84.69)
CMYKcmyk(0% 24.88% 99.02% 19.61%)
Android#ffcd9a02

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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