Skip to content

#d4e2cf

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

RGB
212, 226, 207
HSL
104°, 25%, 85%
CMYK
6, 0, 8, 11
Luminance
0.7289

Every format

HEX#d4e2cf
RGBrgb(212, 226, 207)
HSLhsl(104, 25%, 85%)
CMYKcmyk(6%, 0%, 8%, 11%)
LABlab(88.4 -8.1 7.7)
LCHlch(88.4 11.2 136.5)
OKLCHoklch(0.897 0.030 137.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4e2cf on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#d4e2cf on black: 15.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green88.6%
Blue81.2%

CMYK percentages

Cyan6.2%
Magenta0.0%
Yellow8.4%
Key (black)11.4%

Color previews

#d4e2cf text on a black background

contrast 15.58:1

Card sample

#d4e2cf text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4e2cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4e2cf in the Color Lab