Skip to content
Vectorlight.net

#ccf831

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

HEX
#ccf831
RGB
204, 248, 49
HSL
73.27°, 93.43%, 58.24%
OKLCH
0.92 0.21 122.21
Names
—
Lists

Codes

FormatValue
HEX#ccf831
RGBrgb(204 248 49)
HSLhsl(73.27 93.43% 58.24%)
OKLCHoklch(0.92 0.21 122.21)
CMYKcmyk(17.74% 0% 80.24% 2.75%)
Android#ffccf831

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

Recolor an SVG with this color

CSS

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