Skip to content

#def7d2

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

RGB
222, 247, 210
HSL
101°, 70%, 90%
CMYK
10, 0, 15, 3
Luminance
0.8670

Every format

HEX#def7d2
RGBrgb(222, 247, 210)
HSLhsl(101, 70%, 90%)
CMYKcmyk(10%, 0%, 15%, 3%)
LABlab(94.6 -14.7 15.1)
LCHlch(94.6 21.1 134.3)
OKLCHoklch(0.948 0.056 135.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green96.9%
Blue82.4%

CMYK percentages

Cyan10.1%
Magenta0.0%
Yellow15.0%
Key (black)3.1%

Color previews

#def7d2 text on a black background

contrast 18.34:1

Card sample

#def7d2 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def7d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def7d2 in the Color Lab