Skip to content

#ddfb37

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

RGB
221, 251, 55
HSL
69°, 96%, 60%
CMYK
12, 0, 78, 2
Luminance
0.8464

Every format

HEX#ddfb37
RGBrgb(221, 251, 55)
HSLhsl(69, 96%, 60%)
CMYKcmyk(12%, 0%, 78%, 2%)
LABlab(93.7 -32.4 82.5)
LCHlch(93.7 88.7 111.5)
OKLCHoklch(0.935 0.205 118.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddfb37 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#ddfb37 on black: 17.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green98.4%
Blue21.6%

CMYK percentages

Cyan12.0%
Magenta0.0%
Yellow78.1%
Key (black)1.6%

Color previews

#ddfb37 text on a black background

contrast 17.93:1

Card sample

#ddfb37 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 251, 55, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 251, 55, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddfb37;
background: linear-gradient(135deg, #ddfb37, #5AFB37);

Monochromatic scale

Palettes built from #ddfb37

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddfb37 in the Color Lab