Skip to content

#def6dc

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

RGB
222, 246, 220
HSL
115°, 59%, 91%
CMYK
10, 0, 11, 4
Luminance
0.8661

Every format

HEX#def6dc
RGBrgb(222, 246, 220)
HSLhsl(115, 59%, 91%)
CMYKcmyk(10%, 0%, 11%, 4%)
LABlab(94.6 -12.5 9.9)
LCHlch(94.6 15.9 141.8)
OKLCHoklch(0.949 0.043 143.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def6dc on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#def6dc on black: 18.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green96.5%
Blue86.3%

CMYK percentages

Cyan9.8%
Magenta0.0%
Yellow10.6%
Key (black)3.5%

Color previews

#def6dc text on a black background

contrast 18.32:1

Card sample

#def6dc text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def6dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def6dc in the Color Lab