Skip to content

#dfef4d

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

RGB
223, 239, 77
HSL
66°, 84%, 62%
CMYK
7, 0, 68, 6
Luminance
0.7796

Every format

HEX#dfef4d
RGBrgb(223, 239, 77)
HSLhsl(66, 84%, 62%)
CMYKcmyk(7%, 0%, 68%, 6%)
LABlab(90.8 -25.1 72.8)
LCHlch(90.8 77.0 109.0)
OKLCHoklch(0.912 0.180 114.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green93.7%
Blue30.2%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow67.8%
Key (black)6.3%

Color previews

#dfef4d text on a black background

contrast 16.59:1

Card sample

#dfef4d text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfef4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfef4d in the Color Lab