Skip to content
Vectorlight.net

#ccf21f

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

HEX
#ccf21f
RGB
204, 242, 31
HSL
70.81°, 89.03%, 53.53%
OKLCH
0.9 0.21 120.69
Names
—
Lists

Codes

FormatValue
HEX#ccf21f
RGBrgb(204 242 31)
HSLhsl(70.81 89.03% 53.53%)
OKLCHoklch(0.9 0.21 120.69)
CMYKcmyk(15.7% 0% 87.19% 5.1%)
Android#ffccf21f

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="#ccf21f"
Gradient stop
<stop stop-color="#ccf21f"/>
CSS variable + fill
:root { --c: #ccf21f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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