Skip to content
Vectorlight.net

#ccf840

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

HEX
#ccf840
RGB
204, 248, 64
HSL
74.35°, 92.93%, 61.18%
OKLCH
0.92 0.2 122.53
Names
—
Lists

Codes

FormatValue
HEX#ccf840
RGBrgb(204 248 64)
HSLhsl(74.35 92.93% 61.18%)
OKLCHoklch(0.92 0.2 122.53)
CMYKcmyk(17.74% 0% 74.19% 2.75%)
Android#ffccf840

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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