Skip to content

#dafff2

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

RGB
218, 255, 242
HSL
159°, 100%, 93%
CMYK
15, 0, 5, 0
Luminance
0.9284

Every format

HEX#dafff2
RGBrgb(218, 255, 242)
HSLhsl(159, 100%, 93%)
CMYKcmyk(15%, 0%, 5%, 0%)
LABlab(97.2 -14.3 2.2)
LCHlch(97.2 14.5 171.1)
OKLCHoklch(0.970 0.042 172.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dafff2 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#dafff2 on black: 19.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green100.0%
Blue94.9%

CMYK percentages

Cyan14.5%
Magenta0.0%
Yellow5.1%
Key (black)0.0%

Color previews

#dafff2 text on a black background

contrast 19.57:1

Card sample

#dafff2 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dafff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dafff2 in the Color Lab