Skip to content

#defdab

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

RGB
222, 253, 171
HSL
83°, 95%, 83%
CMYK
12, 0, 32, 1
Luminance
0.8872

Every format

HEX#defdab
RGBrgb(222, 253, 171)
HSLhsl(83, 95%, 83%)
CMYKcmyk(12%, 0%, 32%, 1%)
LABlab(95.5 -23.4 36.0)
LCHlch(95.5 43.0 123.0)
OKLCHoklch(0.953 0.110 125.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#defdab on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#defdab on black: 18.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green99.2%
Blue67.1%

CMYK percentages

Cyan12.3%
Magenta0.0%
Yellow32.4%
Key (black)0.8%

Color previews

#defdab text on a black background

contrast 18.74:1

Card sample

#defdab text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 253, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 253, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #defdab;
background: linear-gradient(135deg, #defdab, #ABFDAF);

Monochromatic scale

Palettes built from #defdab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #defdab in the Color Lab