Skip to content

#daf9b2

a light, electric green · cool · closest name: khaki

RGB
218, 249, 178
HSL
86°, 86%, 84%
CMYK
12, 0, 29, 2
Luminance
0.8587

Every format

HEX#daf9b2
RGBrgb(218, 249, 178)
HSLhsl(86, 86%, 84%)
CMYKcmyk(12%, 0%, 29%, 2%)
LABlab(94.3 -21.9 30.9)
LCHlch(94.3 37.9 125.4)
OKLCHoklch(0.943 0.098 127.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#daf9b2 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#daf9b2 on black: 18.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green97.6%
Blue69.8%

CMYK percentages

Cyan12.4%
Magenta0.0%
Yellow28.5%
Key (black)2.4%

Color previews

#daf9b2 text on a black background

contrast 18.17:1

Card sample

#daf9b2 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #daf9b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daf9b2 in the Color Lab