Skip to content

#ddf845

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

RGB
221, 248, 69
HSL
69°, 93%, 62%
CMYK
11, 0, 72, 3
Luminance
0.8294

Every format

HEX#ddf845
RGBrgb(221, 248, 69)
HSLhsl(69, 93%, 62%)
CMYKcmyk(11%, 0%, 72%, 3%)
LABlab(93.0 -30.5 77.7)
LCHlch(93.0 83.4 111.4)
OKLCHoklch(0.929 0.195 117.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green97.3%
Blue27.1%

CMYK percentages

Cyan10.9%
Magenta0.0%
Yellow72.2%
Key (black)2.7%

Color previews

#ddf845 text on a black background

contrast 17.59:1

Card sample

#ddf845 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf845

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf845 in the Color Lab