Skip to content
Vectorlight.net

#cc970b

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

HEX
#cc970b
RGB
204, 151, 11
HSL
43.52°, 89.77%, 42.16%
OKLCH
0.71 0.14 82.98
Names
—
Lists

Codes

FormatValue
HEX#cc970b
RGBrgb(204 151 11)
HSLhsl(43.52 89.77% 42.16%)
OKLCHoklch(0.71 0.14 82.98)
CMYKcmyk(0% 25.98% 94.61% 20%)
Android#ffcc970b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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