Skip to content

#ccf8af

a light, electric green · cool · closest name: khaki

RGB
204, 248, 175
HSL
96°, 84%, 83%
CMYK
18, 0, 29, 3
Luminance
0.8307

Every format

HEX#ccf8af
RGBrgb(204, 248, 175)
HSLhsl(96, 84%, 83%)
CMYKcmyk(18%, 0%, 29%, 3%)
LABlab(93.0 -26.8 30.6)
LCHlch(93.0 40.7 131.2)
OKLCHoklch(0.930 0.106 133.4)

Copy-ready code

/* CSS */
color: #ccf8af;
background-color: #ccf8af;
/* Tailwind (arbitrary) */
class="text-[#ccf8af] bg-[#ccf8af]"
/* SCSS */
$brand: #ccf8af;
/* SwiftUI */
Color(red: 0.800, green: 0.973, blue: 0.686)
/* Android */
Color.parseColor("#ccf8af")

Accessibility — WCAG contrast

Aa
#ccf8af on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#ccf8af on black: 17.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green97.3%
Blue68.6%

CMYK percentages

Cyan17.7%
Magenta0.0%
Yellow29.4%
Key (black)2.7%

Color previews

#ccf8af text on a black background

contrast 17.61:1

Card sample

#ccf8af text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ccf8af;
Background color
Panel with #ccf8af background
background-color: #ccf8af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ccf8af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(204, 248, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 248, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccf8af;
background: linear-gradient(135deg, #ccf8af, #AFF8C3);

Monochromatic scale

Palettes built from #ccf8af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf8af in the Color Lab