Skip to content

#d4f8f2

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

RGB
212, 248, 242
HSL
170°, 72%, 90%
CMYK
15, 0, 2, 3
Luminance
0.8754

Every format

HEX#d4f8f2
RGBrgb(212, 248, 242)
HSLhsl(170, 72%, 90%)
CMYKcmyk(15%, 0%, 2%, 3%)
LABlab(95.0 -12.7 -1.0)
LCHlch(95.0 12.8 184.5)
OKLCHoklch(0.952 0.038 184.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.1%
Green97.3%
Blue94.9%

CMYK percentages

Cyan14.5%
Magenta0.0%
Yellow2.4%
Key (black)2.7%

Color previews

#d4f8f2 text on a black background

contrast 18.51:1

Card sample

#d4f8f2 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4f8f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4f8f2 in the Color Lab