Skip to content

#def2ce

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

RGB
222, 242, 206
HSL
93°, 58%, 88%
CMYK
8, 0, 15, 5
Luminance
0.8349

Every format

HEX#def2ce
RGBrgb(222, 242, 206)
HSLhsl(93, 58%, 88%)
CMYKcmyk(8%, 0%, 15%, 5%)
LABlab(93.2 -12.9 15.2)
LCHlch(93.2 19.9 130.3)
OKLCHoklch(0.937 0.052 131.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def2ce on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#def2ce on black: 17.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green94.9%
Blue80.8%

CMYK percentages

Cyan8.3%
Magenta0.0%
Yellow14.9%
Key (black)5.1%

Color previews

#def2ce text on a black background

contrast 17.70:1

Card sample

#def2ce text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def2ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def2ce in the Color Lab