Skip to content

#dfef30

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

RGB
223, 239, 48
HSL
65°, 86%, 56%
CMYK
7, 0, 80, 6
Luminance
0.7763

Every format

HEX#dfef30
RGBrgb(223, 239, 48)
HSLhsl(65, 86%, 56%)
CMYKcmyk(7%, 0%, 80%, 6%)
LABlab(90.6 -26.3 81.6)
LCHlch(90.6 85.8 107.9)
OKLCHoklch(0.910 0.195 114.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green93.7%
Blue18.8%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow79.9%
Key (black)6.3%

Color previews

#dfef30 text on a black background

contrast 16.53:1

Card sample

#dfef30 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfef30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfef30 in the Color Lab