Skip to content

#def7f0

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

RGB
222, 247, 240
HSL
163°, 61%, 92%
CMYK
10, 0, 3, 3
Luminance
0.8834

Every format

HEX#def7f0
RGBrgb(222, 247, 240)
HSLhsl(163, 61%, 92%)
CMYKcmyk(10%, 0%, 3%, 3%)
LABlab(95.3 -9.4 0.6)
LCHlch(95.3 9.4 176.4)
OKLCHoklch(0.956 0.028 177.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def7f0 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#def7f0 on black: 18.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green96.9%
Blue94.1%

CMYK percentages

Cyan10.1%
Magenta0.0%
Yellow2.8%
Key (black)3.1%

Color previews

#def7f0 text on a black background

contrast 18.67:1

Card sample

#def7f0 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def7f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def7f0 in the Color Lab