Skip to content

#dbef21

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

RGB
219, 239, 33
HSL
66°, 87%, 53%
CMYK
8, 0, 86, 6
Luminance
0.7690

Every format

HEX#dbef21
RGBrgb(219, 239, 33)
HSLhsl(66, 87%, 53%)
CMYKcmyk(8%, 0%, 86%, 6%)
LABlab(90.3 -28.3 84.5)
LCHlch(90.3 89.1 108.5)
OKLCHoklch(0.906 0.201 115.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbef21 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#dbef21 on black: 16.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green93.7%
Blue12.9%

CMYK percentages

Cyan8.4%
Magenta0.0%
Yellow86.2%
Key (black)6.3%

Color previews

#dbef21 text on a black background

contrast 16.38:1

Card sample

#dbef21 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 239, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 239, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbef21;
background: linear-gradient(135deg, #dbef21, #52EF21);

Monochromatic scale

Palettes built from #dbef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbef21 in the Color Lab