Skip to content

#def6e7

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

RGB
222, 246, 231
HSL
143°, 57%, 92%
CMYK
10, 0, 6, 4
Luminance
0.8721

Every format

HEX#def6e7
RGBrgb(222, 246, 231)
HSLhsl(143, 57%, 92%)
CMYKcmyk(10%, 0%, 6%, 4%)
LABlab(94.8 -10.6 4.5)
LCHlch(94.8 11.5 156.7)
OKLCHoklch(0.952 0.032 158.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green96.5%
Blue90.6%

CMYK percentages

Cyan9.8%
Magenta0.0%
Yellow6.1%
Key (black)3.5%

Color previews

#def6e7 text on a black background

contrast 18.44:1

Card sample

#def6e7 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def6e7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def6e7 in the Color Lab