Skip to content

#ddf982

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

RGB
221, 249, 130
HSL
74°, 91%, 74%
CMYK
11, 0, 48, 2
Luminance
0.8474

Every format

HEX#ddf982
RGBrgb(221, 249, 130)
HSLhsl(74, 91%, 74%)
CMYKcmyk(11%, 0%, 48%, 2%)
LABlab(93.8 -26.6 53.7)
LCHlch(93.8 59.9 116.3)
OKLCHoklch(0.937 0.148 120.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ddf982 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#ddf982 on black: 17.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green97.6%
Blue51.0%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow47.8%
Key (black)2.4%

Color previews

#ddf982 text on a black background

contrast 17.95:1

Card sample

#ddf982 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 249, 130, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 249, 130, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddf982;
background: linear-gradient(135deg, #ddf982, #8EF982);

Monochromatic scale

Palettes built from #ddf982

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ddf982 in the Color Lab