Skip to content

#defda2

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

RGB
222, 253, 162
HSL
80°, 96%, 81%
CMYK
12, 0, 36, 1
Luminance
0.8839

Every format

HEX#defda2
RGBrgb(222, 253, 162)
HSLhsl(80, 96%, 81%)
CMYKcmyk(12%, 0%, 36%, 1%)
LABlab(95.3 -24.5 40.3)
LCHlch(95.3 47.2 121.3)
OKLCHoklch(0.951 0.120 124.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green99.2%
Blue63.5%

CMYK percentages

Cyan12.3%
Magenta0.0%
Yellow36.0%
Key (black)0.8%

Color previews

#defda2 text on a black background

contrast 18.68:1

Card sample

#defda2 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #defda2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #defda2 in the Color Lab