Skip to content

#ddef6c

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

RGB
221, 239, 108
HSL
68°, 80%, 68%
CMYK
8, 0, 55, 6
Luminance
0.7819

Every format

HEX#ddef6c
RGBrgb(221, 239, 108)
HSLhsl(68, 80%, 68%)
CMYKcmyk(8%, 0%, 55%, 6%)
LABlab(90.9 -23.8 60.3)
LCHlch(90.9 64.8 111.5)
OKLCHoklch(0.913 0.157 116.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddef6c on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#ddef6c on black: 16.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green93.7%
Blue42.4%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow54.8%
Key (black)6.3%

Color previews

#ddef6c text on a black background

contrast 16.64:1

Card sample

#ddef6c text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 239, 108, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 239, 108, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddef6c;
background: linear-gradient(135deg, #ddef6c, #86EF6C);

Monochromatic scale

Palettes built from #ddef6c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddef6c in the Color Lab