Skip to content

#def1cf

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

RGB
222, 241, 207
HSL
94°, 55%, 88%
CMYK
8, 0, 14, 6
Luminance
0.8295

Every format

HEX#def1cf
RGBrgb(222, 241, 207)
HSLhsl(94, 55%, 88%)
CMYKcmyk(8%, 0%, 14%, 6%)
LABlab(93.0 -12.2 14.3)
LCHlch(93.0 18.8 130.5)
OKLCHoklch(0.935 0.049 131.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def1cf on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#def1cf on black: 17.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green94.5%
Blue81.2%

CMYK percentages

Cyan7.9%
Magenta0.0%
Yellow14.1%
Key (black)5.5%

Color previews

#def1cf text on a black background

contrast 17.59:1

Card sample

#def1cf text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def1cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def1cf in the Color Lab