Skip to content

#dff8f2

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

RGB
223, 248, 242
HSL
166°, 64%, 92%
CMYK
10, 0, 2, 3
Luminance
0.8923

Every format

HEX#dff8f2
RGBrgb(223, 248, 242)
HSLhsl(166, 64%, 92%)
CMYKcmyk(10%, 0%, 2%, 3%)
LABlab(95.7 -9.2 0.1)
LCHlch(95.7 9.2 179.3)
OKLCHoklch(0.959 0.027 179.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dff8f2 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#dff8f2 on black: 18.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green97.3%
Blue94.9%

CMYK percentages

Cyan10.1%
Magenta0.0%
Yellow2.4%
Key (black)2.7%

Color previews

#dff8f2 text on a black background

contrast 18.85:1

Card sample

#dff8f2 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dff8f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dff8f2 in the Color Lab