Skip to content

#defec2

a pale, electric green · cool · closest name: beige

RGB
222, 254, 194
HSL
92°, 97%, 88%
CMYK
13, 0, 24, 0
Luminance
0.9031

Every format

HEX#defec2
RGBrgb(222, 254, 194)
HSLhsl(92, 97%, 88%)
CMYKcmyk(13%, 0%, 24%, 0%)
LABlab(96.1 -20.6 25.4)
LCHlch(96.1 32.7 129.2)
OKLCHoklch(0.959 0.085 130.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#defec2 on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#defec2 on black: 19.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green99.6%
Blue76.1%

CMYK percentages

Cyan12.6%
Magenta0.0%
Yellow23.6%
Key (black)0.4%

Color previews

#defec2 text on a black background

contrast 19.06:1

Card sample

#defec2 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #defec2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #defec2 in the Color Lab