Skip to content
Vectorlight.net

#cccc18

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

HEX
#cccc18
RGB
204, 204, 24
HSL
60°, 78.95%, 44.71%
OKLCH
0.82 0.17 109.7
Names
—
Lists

Codes

FormatValue
HEX#cccc18
RGBrgb(204 204 24)
HSLhsl(60 78.95% 44.71%)
OKLCHoklch(0.82 0.17 109.7)
CMYKcmyk(0% 0% 88.24% 20%)
Android#ffcccc18

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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