Skip to content
Vectorlight.net

#cca321

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

HEX
#cca321
RGB
204, 163, 33
HSL
45.61°, 72.15%, 46.47%
OKLCH
0.73 0.14 89.31
Names
—
Lists

Codes

FormatValue
HEX#cca321
RGBrgb(204 163 33)
HSLhsl(45.61 72.15% 46.47%)
OKLCHoklch(0.73 0.14 89.31)
CMYKcmyk(0% 20.1% 83.82% 20%)
Android#ffcca321

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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