Skip to content

#def4cf

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

RGB
222, 244, 207
HSL
96°, 63%, 88%
CMYK
9, 0, 15, 4
Luminance
0.8474

Every format

HEX#def4cf
RGBrgb(222, 244, 207)
HSLhsl(96, 63%, 88%)
CMYKcmyk(9%, 0%, 15%, 4%)
LABlab(93.8 -13.7 15.4)
LCHlch(93.8 20.6 131.6)
OKLCHoklch(0.941 0.054 132.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def4cf on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#def4cf on black: 17.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green95.7%
Blue81.2%

CMYK percentages

Cyan9.0%
Magenta0.0%
Yellow15.2%
Key (black)4.3%

Color previews

#def4cf text on a black background

contrast 17.95:1

Card sample

#def4cf text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def4cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def4cf in the Color Lab