Skip to content

#dfef1e

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

RGB
223, 239, 30
HSL
65°, 87%, 53%
CMYK
7, 0, 87, 6
Luminance
0.7751

Every format

HEX#dfef1e
RGBrgb(223, 239, 30)
HSLhsl(65, 87%, 53%)
CMYKcmyk(7%, 0%, 87%, 6%)
LABlab(90.6 -26.8 85.4)
LCHlch(90.6 89.5 107.4)
OKLCHoklch(0.909 0.201 114.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green93.7%
Blue11.8%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow87.4%
Key (black)6.3%

Color previews

#dfef1e text on a black background

contrast 16.50:1

Card sample

#dfef1e text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfef1e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfef1e in the Color Lab