Skip to content

#dff20d

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

RGB
223, 242, 13
HSL
65°, 90%, 50%
CMYK
8, 0, 95, 5
Luminance
0.7922

Every format

HEX#dff20d
RGBrgb(223, 242, 13)
HSLhsl(65, 90%, 50%)
CMYKcmyk(8%, 0%, 95%, 5%)
LABlab(91.3 -28.4 88.1)
LCHlch(91.3 92.6 107.9)
OKLCHoklch(0.916 0.207 115.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dff20d on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#dff20d on black: 16.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green94.9%
Blue5.1%

CMYK percentages

Cyan7.9%
Magenta0.0%
Yellow94.6%
Key (black)5.1%

Color previews

#dff20d text on a black background

contrast 16.84:1

Card sample

#dff20d text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 242, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 242, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dff20d;
background: linear-gradient(135deg, #dff20d, #46F20D);

Monochromatic scale

Palettes built from #dff20d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dff20d in the Color Lab