Skip to content
Vectorlight.net

#ccaa22

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

HEX
#ccaa22
RGB
204, 170, 34
HSL
48°, 71.43%, 46.67%
OKLCH
0.75 0.14 93.44
Names
—
Lists

Codes

FormatValue
HEX#ccaa22
RGBrgb(204 170 34)
HSLhsl(48 71.43% 46.67%)
OKLCHoklch(0.75 0.14 93.44)
CMYKcmyk(0% 16.67% 83.33% 20%)
Android#ffccaa22

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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