Skip to content
Vectorlight.net

#ccf21e

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

HEX
#ccf21e
RGB
204, 242, 30
HSL
70.75°, 89.08%, 53.33%
OKLCH
0.9 0.21 120.68
Names
—
Lists

Codes

FormatValue
HEX#ccf21e
RGBrgb(204 242 30)
HSLhsl(70.75 89.08% 53.33%)
OKLCHoklch(0.9 0.21 120.68)
CMYKcmyk(15.7% 0% 87.6% 5.1%)
Android#ffccf21e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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