Skip to content

#ccf2af

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

RGB
204, 242, 175
HSL
94°, 72%, 82%
CMYK
16, 0, 28, 5
Luminance
0.7944

Every format

HEX#ccf2af
RGBrgb(204, 242, 175)
HSLhsl(94, 72%, 82%)
CMYKcmyk(16%, 0%, 28%, 5%)
LABlab(91.4 -23.9 28.4)
LCHlch(91.4 37.1 130.1)
OKLCHoklch(0.918 0.097 132.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf2af on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#ccf2af on black: 16.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green94.9%
Blue68.6%

CMYK percentages

Cyan15.7%
Magenta0.0%
Yellow27.7%
Key (black)5.1%

Color previews

#ccf2af text on a black background

contrast 16.89:1

Card sample

#ccf2af text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf2af in the Color Lab