Skip to content
Vectorlight.net

#ccf798

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

HEX
#ccf798
RGB
204, 247, 152
HSL
87.16°, 85.59%, 78.24%
OKLCH
0.92 0.13 128.53
Names
—
Lists

Codes

FormatValue
HEX#ccf798
RGBrgb(204 247 152)
HSLhsl(87.16 85.59% 78.24%)
OKLCHoklch(0.92 0.13 128.53)
CMYKcmyk(17.41% 0% 38.46% 3.14%)
Android#ffccf798

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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