Skip to content
Vectorlight.net

#cccd28

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

HEX
#cccd28
RGB
204, 205, 40
HSL
60.36°, 67.35%, 48.04%
OKLCH
0.82 0.17 109.99
Names
—
Lists

Codes

FormatValue
HEX#cccd28
RGBrgb(204 205 40)
HSLhsl(60.36 67.35% 48.04%)
OKLCHoklch(0.82 0.17 109.99)
CMYKcmyk(0.49% 0% 80.49% 19.61%)
Android#ffcccd28

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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