Skip to content

#cdf1d8

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

RGB
205, 241, 216
HSL
138°, 56%, 88%
CMYK
15, 0, 10, 6
Luminance
0.8085

Every format

HEX#cdf1d8
RGBrgb(205, 241, 216)
HSLhsl(138, 56%, 88%)
CMYKcmyk(15%, 0%, 10%, 6%)
LABlab(92.1 -16.4 8.2)
LCHlch(92.1 18.3 153.4)
OKLCHoklch(0.926 0.050 155.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green94.5%
Blue84.7%

CMYK percentages

Cyan14.9%
Magenta0.0%
Yellow10.4%
Key (black)5.5%

Color previews

#cdf1d8 text on a black background

contrast 17.17:1

Card sample

#cdf1d8 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 241, 216, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 241, 216, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf1d8;
background: linear-gradient(135deg, #cdf1d8, #CDF1F0);

Monochromatic scale

Palettes built from #cdf1d8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf1d8 in the Color Lab