Skip to content

#d0eb21

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

RGB
208, 235, 33
HSL
68°, 84%, 53%
CMYK
12, 0, 86, 8
Luminance
0.7294

Every format

HEX#d0eb21
RGBrgb(208, 235, 33)
HSLhsl(68, 84%, 53%)
CMYKcmyk(12%, 0%, 86%, 8%)
LABlab(88.4 -30.9 82.7)
LCHlch(88.4 88.2 110.5)
OKLCHoklch(0.890 0.201 118.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0eb21 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#d0eb21 on black: 15.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green92.2%
Blue12.9%

CMYK percentages

Cyan11.5%
Magenta0.0%
Yellow86.0%
Key (black)7.8%

Color previews

#d0eb21 text on a black background

contrast 15.59:1

Card sample

#d0eb21 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(208, 235, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 235, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d0eb21;
background: linear-gradient(135deg, #d0eb21, #49EB21);

Monochromatic scale

Palettes built from #d0eb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0eb21 in the Color Lab