Skip to content

#dffc4f

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

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

Every format

HEX#dffc4f
RGBrgb(223, 252, 79)
HSLhsl(70, 97%, 65%)
CMYKcmyk(12%, 0%, 69%, 1%)
LABlab(94.3 -31.0 75.5)
LCHlch(94.3 81.7 112.3)
OKLCHoklch(0.940 0.193 118.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green98.8%
Blue31.0%

CMYK percentages

Cyan11.5%
Magenta0.0%
Yellow68.7%
Key (black)1.2%

Color previews

#dffc4f text on a black background

contrast 18.17:1

Card sample

#dffc4f text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dffc4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dffc4f in the Color Lab