Skip to content

#def7df

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

RGB
222, 247, 223
HSL
122°, 61%, 92%
CMYK
10, 0, 10, 3
Luminance
0.8738

Every format

HEX#def7df
RGBrgb(222, 247, 223)
HSLhsl(122, 61%, 92%)
CMYKcmyk(10%, 0%, 10%, 3%)
LABlab(94.9 -12.5 8.8)
LCHlch(94.9 15.3 144.9)
OKLCHoklch(0.951 0.041 146.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def7df on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#def7df on black: 18.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green96.9%
Blue87.5%

CMYK percentages

Cyan10.1%
Magenta0.0%
Yellow9.7%
Key (black)3.1%

Color previews

#def7df text on a black background

contrast 18.48:1

Card sample

#def7df text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def7df in the Color Lab