Skip to content
Vectorlight.net

#cca41b

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

HEX
#cca41b
RGB
204, 164, 27
HSL
46.44°, 76.62%, 45.29%
OKLCH
0.73 0.14 90.27
Names
—
Lists

Codes

FormatValue
HEX#cca41b
RGBrgb(204 164 27)
HSLhsl(46.44 76.62% 45.29%)
OKLCHoklch(0.73 0.14 90.27)
CMYKcmyk(0% 19.61% 86.76% 20%)
Android#ffcca41b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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