Skip to content

#defab2

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

RGB
222, 250, 178
HSL
83°, 88%, 84%
CMYK
11, 0, 29, 2
Luminance
0.8712

Every format

HEX#defab2
RGBrgb(222, 250, 178)
HSLhsl(83, 88%, 84%)
CMYKcmyk(11%, 0%, 29%, 2%)
LABlab(94.8 -21.0 31.6)
LCHlch(94.8 38.0 123.6)
OKLCHoklch(0.948 0.098 125.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#defab2 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#defab2 on black: 18.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green98.0%
Blue69.8%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow28.8%
Key (black)2.0%

Color previews

#defab2 text on a black background

contrast 18.42:1

Card sample

#defab2 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #defab2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #defab2 in the Color Lab