Skip to content

#dbdf28

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

RGB
219, 223, 40
HSL
61°, 74%, 52%
CMYK
2, 0, 82, 13
Luminance
0.6799

Every format

HEX#dbdf28
RGBrgb(219, 223, 40)
HSLhsl(61, 74%, 52%)
CMYKcmyk(2%, 0%, 82%, 13%)
LABlab(86.0 -20.5 79.5)
LCHlch(86.0 82.1 104.5)
OKLCHoklch(0.872 0.183 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbdf28 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#dbdf28 on black: 14.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green87.5%
Blue15.7%

CMYK percentages

Cyan1.8%
Magenta0.0%
Yellow82.1%
Key (black)12.5%

Color previews

#dbdf28 text on a black background

contrast 14.60:1

Card sample

#dbdf28 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 223, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 223, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbdf28;
background: linear-gradient(135deg, #dbdf28, #61DF28);

Monochromatic scale

Palettes built from #dbdf28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbdf28 in the Color Lab