Skip to content

#dffc4e

a balanced, electric green · cool · closest name: yellow

RGB
223, 252, 78
HSL
70°, 97%, 65%
CMYK
12, 0, 69, 1
Luminance
0.8586

Every format

HEX#dffc4e
RGBrgb(223, 252, 78)
HSLhsl(70, 97%, 65%)
CMYKcmyk(12%, 0%, 69%, 1%)
LABlab(94.3 -31.1 75.9)
LCHlch(94.3 82.0 112.3)
OKLCHoklch(0.940 0.193 118.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dffc4e on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#dffc4e on black: 18.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green98.8%
Blue30.6%

CMYK percentages

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

Color previews

#dffc4e text on a black background

contrast 18.17:1

Card sample

#dffc4e text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dffc4e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dffc4e in the Color Lab