Skip to content

#dbf02f

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

RGB
219, 240, 47
HSL
67°, 87%, 56%
CMYK
9, 0, 80, 6
Luminance
0.7759

Every format

HEX#dbf02f
RGBrgb(219, 240, 47)
HSLhsl(67, 87%, 56%)
CMYKcmyk(9%, 0%, 80%, 6%)
LABlab(90.6 -28.4 81.8)
LCHlch(90.6 86.5 109.2)
OKLCHoklch(0.909 0.197 116.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.9%
Green94.1%
Blue18.4%

CMYK percentages

Cyan8.8%
Magenta0.0%
Yellow80.4%
Key (black)5.9%

Color previews

#dbf02f text on a black background

contrast 16.52:1

Card sample

#dbf02f text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 240, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 240, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dbf02f;
background: linear-gradient(135deg, #dbf02f, #5BF02F);

Monochromatic scale

Palettes built from #dbf02f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbf02f in the Color Lab