Skip to content

#d4fff2

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

RGB
212, 255, 242
HSL
162°, 100%, 92%
CMYK
17, 0, 5, 0
Luminance
0.9193

Every format

HEX#d4fff2
RGBrgb(212, 255, 242)
HSLhsl(162, 100%, 92%)
CMYKcmyk(17%, 0%, 5%, 0%)
LABlab(96.8 -16.2 1.6)
LCHlch(96.8 16.3 174.2)
OKLCHoklch(0.966 0.047 175.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4fff2 on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#d4fff2 on black: 19.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green100.0%
Blue94.9%

CMYK percentages

Cyan16.9%
Magenta0.0%
Yellow5.1%
Key (black)0.0%

Color previews

#d4fff2 text on a black background

contrast 19.39:1

Card sample

#d4fff2 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4fff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4fff2 in the Color Lab