Skip to content

#dffc6f

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

RGB
223, 252, 111
HSL
72°, 96%, 71%
CMYK
12, 0, 56, 1
Luminance
0.8646

Every format

HEX#dffc6f
RGBrgb(223, 252, 111)
HSLhsl(72, 96%, 71%)
CMYKcmyk(12%, 0%, 56%, 1%)
LABlab(94.5 -28.9 63.1)
LCHlch(94.5 69.4 114.6)
OKLCHoklch(0.943 0.169 119.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dffc6f on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#dffc6f on black: 18.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green98.8%
Blue43.5%

CMYK percentages

Cyan11.5%
Magenta0.0%
Yellow56.0%
Key (black)1.2%

Color previews

#dffc6f text on a black background

contrast 18.29:1

Card sample

#dffc6f text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 252, 111, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 252, 111, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dffc6f;
background: linear-gradient(135deg, #dffc6f, #81FC6F);

Monochromatic scale

Palettes built from #dffc6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dffc6f in the Color Lab