Skip to content

#dffbab

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

RGB
223, 251, 171
HSL
81°, 91%, 83%
CMYK
11, 0, 32, 2
Luminance
0.8762

Every format

HEX#dffbab
RGBrgb(223, 251, 171)
HSLhsl(81, 91%, 83%)
CMYKcmyk(11%, 0%, 32%, 2%)
LABlab(95.0 -22.1 35.4)
LCHlch(95.0 41.8 121.9)
OKLCHoklch(0.949 0.107 124.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green98.4%
Blue67.1%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow31.9%
Key (black)1.6%

Color previews

#dffbab text on a black background

contrast 18.52:1

Card sample

#dffbab text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dffbab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dffbab in the Color Lab