Skip to content

#ddf945

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

RGB
221, 249, 69
HSL
69°, 94%, 62%
CMYK
11, 0, 72, 2
Luminance
0.8355

Every format

HEX#ddf945
RGBrgb(221, 249, 69)
HSLhsl(69, 94%, 62%)
CMYKcmyk(11%, 0%, 72%, 2%)
LABlab(93.3 -30.9 77.9)
LCHlch(93.3 83.8 111.7)
OKLCHoklch(0.931 0.196 118.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf945 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#ddf945 on black: 17.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green97.6%
Blue27.1%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow72.3%
Key (black)2.4%

Color previews

#ddf945 text on a black background

contrast 17.71:1

Card sample

#ddf945 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 249, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 249, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddf945;
background: linear-gradient(135deg, #ddf945, #65F945);

Monochromatic scale

Palettes built from #ddf945

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf945 in the Color Lab