Skip to content

#def1d9

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

RGB
222, 241, 217
HSL
108°, 46%, 90%
CMYK
8, 0, 10, 6
Luminance
0.8345

Every format

HEX#def1d9
RGBrgb(222, 241, 217)
HSLhsl(108, 46%, 90%)
CMYKcmyk(8%, 0%, 10%, 6%)
LABlab(93.2 -10.6 9.5)
LCHlch(93.2 14.2 138.1)
OKLCHoklch(0.938 0.038 139.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green94.5%
Blue85.1%

CMYK percentages

Cyan7.9%
Magenta0.0%
Yellow10.0%
Key (black)5.5%

Color previews

#def1d9 text on a black background

contrast 17.69:1

Card sample

#def1d9 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def1d9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def1d9 in the Color Lab