Skip to content

#d9f2cf

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

RGB
217, 242, 207
HSL
103°, 57%, 88%
CMYK
10, 0, 15, 5
Luminance
0.8276

Every format

HEX#d9f2cf
RGBrgb(217, 242, 207)
HSLhsl(103, 57%, 88%)
CMYKcmyk(10%, 0%, 15%, 5%)
LABlab(92.9 -14.4 14.2)
LCHlch(92.9 20.2 135.5)
OKLCHoklch(0.934 0.053 136.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d9f2cf on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#d9f2cf on black: 17.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green94.9%
Blue81.2%

CMYK percentages

Cyan10.3%
Magenta0.0%
Yellow14.5%
Key (black)5.1%

Color previews

#d9f2cf text on a black background

contrast 17.55:1

Card sample

#d9f2cf text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9f2cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9f2cf in the Color Lab