Skip to content

#defac2

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

RGB
222, 250, 194
HSL
90°, 85%, 87%
CMYK
11, 0, 22, 2
Luminance
0.8780

Every format

HEX#defac2
RGBrgb(222, 250, 194)
HSLhsl(90, 85%, 87%)
CMYKcmyk(11%, 0%, 22%, 2%)
LABlab(95.1 -18.7 23.9)
LCHlch(95.1 30.4 128.0)
OKLCHoklch(0.951 0.079 129.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#defac2 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#defac2 on black: 18.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green98.0%
Blue76.1%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow22.4%
Key (black)2.0%

Color previews

#defac2 text on a black background

contrast 18.56:1

Card sample

#defac2 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #defac2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #defac2 in the Color Lab