Skip to content

#ccdfb1

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

RGB
204, 223, 177
HSL
85°, 42%, 78%
CMYK
9, 0, 21, 13
Luminance
0.6879

Every format

HEX#ccdfb1
RGBrgb(204, 223, 177)
HSLhsl(85, 42%, 78%)
CMYKcmyk(9%, 0%, 21%, 13%)
LABlab(86.4 -14.3 20.5)
LCHlch(86.4 25.0 124.9)
OKLCHoklch(0.878 0.065 126.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green87.5%
Blue69.4%

CMYK percentages

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

Color previews

#ccdfb1 text on a black background

contrast 14.76:1

Card sample

#ccdfb1 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccdfb1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccdfb1 in the Color Lab