Skip to content

#ddf168

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

RGB
221, 241, 104
HSL
69°, 83%, 68%
CMYK
8, 0, 57, 6
Luminance
0.7928

Every format

HEX#ddf168
RGBrgb(221, 241, 104)
HSLhsl(69, 83%, 68%)
CMYKcmyk(8%, 0%, 57%, 6%)
LABlab(91.4 -25.0 62.6)
LCHlch(91.4 67.4 111.8)
OKLCHoklch(0.917 0.162 116.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.7%
Green94.5%
Blue40.8%

CMYK percentages

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

Color previews

#ddf168 text on a black background

contrast 16.86:1

Card sample

#ddf168 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ddf168

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf168 in the Color Lab