Skip to content
Vectorlight.net

#cc9f18

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

HEX
#cc9f18
RGB
204, 159, 24
HSL
45°, 78.95%, 44.71%
OKLCH
0.72 0.14 87.38
Names
—
Lists

Codes

FormatValue
HEX#cc9f18
RGBrgb(204 159 24)
HSLhsl(45 78.95% 44.71%)
OKLCHoklch(0.72 0.14 87.38)
CMYKcmyk(0% 22.06% 88.24% 20%)
Android#ffcc9f18

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

Recolor an SVG with this color

CSS

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