Skip to content

#d4fef2

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

RGB
212, 254, 242
HSL
163°, 96%, 91%
CMYK
17, 0, 5, 0
Luminance
0.9129

Every format

HEX#d4fef2
RGBrgb(212, 254, 242)
HSLhsl(163, 96%, 91%)
CMYKcmyk(17%, 0%, 5%, 0%)
LABlab(96.5 -15.7 1.3)
LCHlch(96.5 15.7 175.4)
OKLCHoklch(0.964 0.046 176.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4fef2 on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#d4fef2 on black: 19.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green99.6%
Blue94.9%

CMYK percentages

Cyan16.5%
Magenta0.0%
Yellow4.7%
Key (black)0.4%

Color previews

#d4fef2 text on a black background

contrast 19.26:1

Card sample

#d4fef2 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4fef2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4fef2 in the Color Lab