Skip to content

#def7f2

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

RGB
222, 247, 242
HSL
168°, 61%, 92%
CMYK
10, 0, 2, 3
Luminance
0.8846

Every format

HEX#def7f2
RGBrgb(222, 247, 242)
HSLhsl(168, 61%, 92%)
CMYKcmyk(10%, 0%, 2%, 3%)
LABlab(95.3 -9.1 -0.4)
LCHlch(95.3 9.1 182.3)
OKLCHoklch(0.957 0.027 182.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#def7f2 text on a black background

contrast 18.69:1

Card sample

#def7f2 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def7f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def7f2 in the Color Lab