Skip to content
Vectorlight.net

#ccbb22

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

HEX
#ccbb22
RGB
204, 187, 34
HSL
54°, 71.43%, 46.67%
OKLCH
0.78 0.16 102.43
Names
—
Lists

Codes

FormatValue
HEX#ccbb22
RGBrgb(204 187 34)
HSLhsl(54 71.43% 46.67%)
OKLCHoklch(0.78 0.16 102.43)
CMYKcmyk(0% 8.33% 83.33% 20%)
Android#ffccbb22

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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