Skip to content

#dffbaf

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

RGB
223, 251, 175
HSL
82°, 91%, 84%
CMYK
11, 0, 30, 2
Luminance
0.8778

Every format

HEX#dffbaf
RGBrgb(223, 251, 175)
HSLhsl(82, 91%, 84%)
CMYKcmyk(11%, 0%, 30%, 2%)
LABlab(95.1 -21.5 33.5)
LCHlch(95.1 39.8 122.7)
OKLCHoklch(0.950 0.102 124.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green98.4%
Blue68.6%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow30.3%
Key (black)1.6%

Color previews

#dffbaf text on a black background

contrast 18.56:1

Card sample

#dffbaf text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 251, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 251, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dffbaf;
background: linear-gradient(135deg, #dffbaf, #AFFBB2);

Monochromatic scale

Palettes built from #dffbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dffbaf in the Color Lab