Skip to content

#ddf052

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

RGB
221, 240, 82
HSL
67°, 84%, 63%
CMYK
8, 0, 66, 6
Luminance
0.7830

Every format

HEX#ddf052
RGBrgb(221, 240, 82)
HSLhsl(67, 84%, 63%)
CMYKcmyk(8%, 0%, 66%, 6%)
LABlab(90.9 -26.1 71.0)
LCHlch(90.9 75.7 110.1)
OKLCHoklch(0.913 0.178 115.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf052 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#ddf052 on black: 16.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green94.1%
Blue32.2%

CMYK percentages

Cyan7.9%
Magenta0.0%
Yellow65.8%
Key (black)5.9%

Color previews

#ddf052 text on a black background

contrast 16.66:1

Card sample

#ddf052 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 240, 82, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 240, 82, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddf052;
background: linear-gradient(135deg, #ddf052, #74F052);

Monochromatic scale

Palettes built from #ddf052

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf052 in the Color Lab