Skip to content

#ccf2d9

a pale, vivid green · cool · closest name: beige

RGB
204, 242, 217
HSL
141°, 59%, 88%
CMYK
16, 0, 10, 5
Luminance
0.8135

Every format

HEX#ccf2d9
RGBrgb(204, 242, 217)
HSLhsl(141, 59%, 88%)
CMYKcmyk(16%, 0%, 10%, 5%)
LABlab(92.3 -17.0 8.0)
LCHlch(92.3 18.8 154.8)
OKLCHoklch(0.927 0.052 156.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccf2d9 on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#ccf2d9 on black: 17.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green94.9%
Blue85.1%

CMYK percentages

Cyan15.7%
Magenta0.0%
Yellow10.3%
Key (black)5.1%

Color previews

#ccf2d9 text on a black background

contrast 17.27:1

Card sample

#ccf2d9 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf2d9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf2d9 in the Color Lab