Skip to content

#ccdfb2

a light, soft green · cool · closest name: beige

RGB
204, 223, 178
HSL
85°, 41%, 79%
CMYK
9, 0, 20, 13
Luminance
0.6883

Every format

HEX#ccdfb2
RGBrgb(204, 223, 178)
HSLhsl(85, 41%, 79%)
CMYKcmyk(9%, 0%, 20%, 13%)
LABlab(86.4 -14.2 20.0)
LCHlch(86.4 24.5 125.3)
OKLCHoklch(0.878 0.063 126.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccdfb2 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#ccdfb2 on black: 14.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green87.5%
Blue69.8%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow20.2%
Key (black)12.5%

Color previews

#ccdfb2 text on a black background

contrast 14.77:1

Card sample

#ccdfb2 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdfb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdfb2 in the Color Lab