Skip to content

#ccf2d4

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

RGB
204, 242, 212
HSL
133°, 59%, 88%
CMYK
16, 0, 12, 5
Luminance
0.8110

Every format

HEX#ccf2d4
RGBrgb(204, 242, 212)
HSLhsl(133, 59%, 88%)
CMYKcmyk(16%, 0%, 12%, 5%)
LABlab(92.2 -17.9 10.4)
LCHlch(92.2 20.7 149.8)
OKLCHoklch(0.926 0.056 151.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green94.9%
Blue83.1%

CMYK percentages

Cyan15.7%
Magenta0.0%
Yellow12.4%
Key (black)5.1%

Color previews

#ccf2d4 text on a black background

contrast 17.22:1

Card sample

#ccf2d4 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccf2d4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccf2d4 in the Color Lab