Skip to content

#d2eb50

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

RGB
210, 235, 80
HSL
70°, 80%, 62%
CMYK
11, 0, 66, 8
Luminance
0.7370

Every format

HEX#d2eb50
RGBrgb(210, 235, 80)
HSLhsl(70, 80%, 62%)
CMYKcmyk(11%, 0%, 66%, 8%)
LABlab(88.8 -28.2 69.3)
LCHlch(88.8 74.8 112.1)
OKLCHoklch(0.894 0.177 118.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2eb50 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#d2eb50 on black: 15.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green92.2%
Blue31.4%

CMYK percentages

Cyan10.6%
Magenta0.0%
Yellow66.0%
Key (black)7.8%

Color previews

#d2eb50 text on a black background

contrast 15.74:1

Card sample

#d2eb50 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 235, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 235, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2eb50;
background: linear-gradient(135deg, #d2eb50, #6BEB50);

Monochromatic scale

Palettes built from #d2eb50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2eb50 in the Color Lab