Skip to content

#ccfeaf

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

RGB
204, 254, 175
HSL
98°, 98%, 84%
CMYK
20, 0, 31, 0
Luminance
0.8682

Every format

HEX#ccfeaf
RGBrgb(204, 254, 175)
HSLhsl(98, 98%, 84%)
CMYKcmyk(20%, 0%, 31%, 0%)
LABlab(94.7 -29.6 32.8)
LCHlch(94.7 44.2 132.1)
OKLCHoklch(0.944 0.115 134.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccfeaf on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#ccfeaf on black: 18.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green99.6%
Blue68.6%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow31.1%
Key (black)0.4%

Color previews

#ccfeaf text on a black background

contrast 18.36:1

Card sample

#ccfeaf text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccfeaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccfeaf in the Color Lab