Skip to content

#ddf039

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

RGB
221, 240, 57
HSL
66°, 86%, 58%
CMYK
8, 0, 76, 6
Luminance
0.7799

Every format

HEX#ddf039
RGBrgb(221, 240, 57)
HSLhsl(66, 86%, 58%)
CMYKcmyk(8%, 0%, 76%, 6%)
LABlab(90.8 -27.3 79.3)
LCHlch(90.8 83.8 109.0)
OKLCHoklch(0.911 0.192 115.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf039 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#ddf039 on black: 16.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green94.1%
Blue22.4%

CMYK percentages

Cyan7.9%
Magenta0.0%
Yellow76.3%
Key (black)5.9%

Color previews

#ddf039 text on a black background

contrast 16.60:1

Card sample

#ddf039 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf039

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf039 in the Color Lab