Skip to content

#ddf261

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

RGB
221, 242, 97
HSL
69°, 85%, 67%
CMYK
9, 0, 60, 5
Luminance
0.7974

Every format

HEX#ddf261
RGBrgb(221, 242, 97)
HSLhsl(69, 85%, 67%)
CMYKcmyk(9%, 0%, 60%, 5%)
LABlab(91.6 -26.0 65.8)
LCHlch(91.6 70.7 111.6)
OKLCHoklch(0.918 0.169 116.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf261 on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#ddf261 on black: 16.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green94.9%
Blue38.0%

CMYK percentages

Cyan8.7%
Magenta0.0%
Yellow59.9%
Key (black)5.1%

Color previews

#ddf261 text on a black background

contrast 16.95:1

Card sample

#ddf261 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf261 in the Color Lab