Skip to content

#dfef50

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

RGB
223, 239, 80
HSL
66°, 83%, 63%
CMYK
7, 0, 67, 6
Luminance
0.7800

Every format

HEX#dfef50
RGBrgb(223, 239, 80)
HSLhsl(66, 83%, 63%)
CMYKcmyk(7%, 0%, 67%, 6%)
LABlab(90.8 -24.9 71.7)
LCHlch(90.8 75.9 109.1)
OKLCHoklch(0.912 0.178 114.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfef50 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#dfef50 on black: 16.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green93.7%
Blue31.4%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow66.5%
Key (black)6.3%

Color previews

#dfef50 text on a black background

contrast 16.60:1

Card sample

#dfef50 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 239, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 239, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfef50;
background: linear-gradient(135deg, #dfef50, #75EF50);

Monochromatic scale

Palettes built from #dfef50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfef50 in the Color Lab