Skip to content

#cdf2c7

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

RGB
205, 242, 199
HSL
112°, 62%, 87%
CMYK
15, 0, 18, 5
Luminance
0.8061

Every format

HEX#cdf2c7
RGBrgb(205, 242, 199)
HSLhsl(112, 62%, 87%)
CMYKcmyk(15%, 0%, 18%, 5%)
LABlab(92.0 -19.8 16.8)
LCHlch(92.0 26.0 139.6)
OKLCHoklch(0.923 0.069 141.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf2c7 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#cdf2c7 on black: 17.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green94.9%
Blue78.0%

CMYK percentages

Cyan15.3%
Magenta0.0%
Yellow17.8%
Key (black)5.1%

Color previews

#cdf2c7 text on a black background

contrast 17.12:1

Card sample

#cdf2c7 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf2c7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf2c7 in the Color Lab