Skip to content

#dfff9b

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

RGB
223, 255, 155
HSL
79°, 100%, 80%
CMYK
13, 0, 39, 0
Luminance
0.8957

Every format

HEX#dfff9b
RGBrgb(223, 255, 155)
HSLhsl(79, 100%, 80%)
CMYKcmyk(13%, 0%, 39%, 0%)
LABlab(95.8 -26.0 44.4)
LCHlch(95.8 51.4 120.3)
OKLCHoklch(0.955 0.130 123.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfff9b on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#dfff9b on black: 18.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green100.0%
Blue60.8%

CMYK percentages

Cyan12.5%
Magenta0.0%
Yellow39.2%
Key (black)0.0%

Color previews

#dfff9b text on a black background

contrast 18.91:1

Card sample

#dfff9b text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 255, 155, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 255, 155, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfff9b;
background: linear-gradient(135deg, #dfff9b, #9CFF9B);

Monochromatic scale

Palettes built from #dfff9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfff9b in the Color Lab