Skip to content

#dfff98

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

RGB
223, 255, 152
HSL
79°, 100%, 80%
CMYK
13, 0, 40, 0
Luminance
0.8947

Every format

HEX#dfff98
RGBrgb(223, 255, 152)
HSLhsl(79, 100%, 80%)
CMYKcmyk(13%, 0%, 40%, 0%)
LABlab(95.8 -26.3 45.8)
LCHlch(95.8 52.8 119.9)
OKLCHoklch(0.954 0.133 123.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green100.0%
Blue59.6%

CMYK percentages

Cyan12.5%
Magenta0.0%
Yellow40.4%
Key (black)0.0%

Color previews

#dfff98 text on a black background

contrast 18.89:1

Card sample

#dfff98 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfff98

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfff98 in the Color Lab