Skip to content

#ccf4af

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

RGB
204, 244, 175
HSL
95°, 76%, 82%
CMYK
16, 0, 28, 4
Luminance
0.8063

Every format

HEX#ccf4af
RGBrgb(204, 244, 175)
HSLhsl(95, 76%, 82%)
CMYKcmyk(16%, 0%, 28%, 4%)
LABlab(92.0 -24.9 29.1)
LCHlch(92.0 38.3 130.5)
OKLCHoklch(0.922 0.100 132.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf4af on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#ccf4af on black: 17.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green95.7%
Blue68.6%

CMYK percentages

Cyan16.4%
Magenta0.0%
Yellow28.3%
Key (black)4.3%

Color previews

#ccf4af text on a black background

contrast 17.13:1

Card sample

#ccf4af text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf4af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf4af in the Color Lab