Skip to content

#def7eb

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

RGB
222, 247, 235
HSL
151°, 61%, 92%
CMYK
10, 0, 5, 3
Luminance
0.8805

Every format

HEX#def7eb
RGBrgb(222, 247, 235)
HSLhsl(151, 61%, 92%)
CMYKcmyk(10%, 0%, 5%, 3%)
LABlab(95.2 -10.4 3.0)
LCHlch(95.2 10.8 163.9)
OKLCHoklch(0.955 0.031 165.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def7eb on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#def7eb on black: 18.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green96.9%
Blue92.2%

CMYK percentages

Cyan10.1%
Magenta0.0%
Yellow4.9%
Key (black)3.1%

Color previews

#def7eb text on a black background

contrast 18.61:1

Card sample

#def7eb text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def7eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def7eb in the Color Lab