Skip to content

#ddf161

a light, electric yellow · cool · closest name: khaki

RGB
221, 241, 97
HSL
68°, 84%, 66%
CMYK
8, 0, 60, 6
Luminance
0.7915

Every format

HEX#ddf161
RGBrgb(221, 241, 97)
HSLhsl(68, 84%, 66%)
CMYKcmyk(8%, 0%, 60%, 6%)
LABlab(91.3 -25.6 65.5)
LCHlch(91.3 70.3 111.3)
OKLCHoklch(0.916 0.168 116.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf161 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#ddf161 on black: 16.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green94.5%
Blue38.0%

CMYK percentages

Cyan8.3%
Magenta0.0%
Yellow59.8%
Key (black)5.5%

Color previews

#ddf161 text on a black background

contrast 16.83:1

Card sample

#ddf161 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 241, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 241, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddf161;
background: linear-gradient(135deg, #ddf161, #7DF161);

Monochromatic scale

Palettes built from #ddf161

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf161 in the Color Lab