Skip to content

#ddf173

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

RGB
221, 241, 115
HSL
70°, 82%, 70%
CMYK
8, 0, 52, 6
Luminance
0.7952

Every format

HEX#ddf173
RGBrgb(221, 241, 115)
HSLhsl(70, 82%, 70%)
CMYKcmyk(8%, 0%, 52%, 6%)
LABlab(91.5 -24.1 57.9)
LCHlch(91.5 62.7 112.7)
OKLCHoklch(0.918 0.153 117.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green94.5%
Blue45.1%

CMYK percentages

Cyan8.3%
Magenta0.0%
Yellow52.3%
Key (black)5.5%

Color previews

#ddf173 text on a black background

contrast 16.90:1

Card sample

#ddf173 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf173

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf173 in the Color Lab