Skip to content

#dbec2f

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

RGB
219, 236, 47
HSL
65°, 83%, 56%
CMYK
7, 0, 80, 8
Luminance
0.7526

Every format

HEX#dbec2f
RGBrgb(219, 236, 47)
HSLhsl(65, 83%, 56%)
CMYKcmyk(7%, 0%, 80%, 8%)
LABlab(89.5 -26.5 80.8)
LCHlch(89.5 85.1 108.2)
OKLCHoklch(0.900 0.193 115.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dbec2f on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#dbec2f on black: 16.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green92.5%
Blue18.4%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow80.1%
Key (black)7.5%

Color previews

#dbec2f text on a black background

contrast 16.05:1

Card sample

#dbec2f text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dbec2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dbec2f in the Color Lab