Skip to content

#def0d6

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

RGB
222, 240, 214
HSL
102°, 46%, 89%
CMYK
8, 0, 11, 6
Luminance
0.8270

Every format

HEX#def0d6
RGBrgb(222, 240, 214)
HSLhsl(102, 46%, 89%)
CMYKcmyk(8%, 0%, 11%, 6%)
LABlab(92.9 -10.6 10.6)
LCHlch(92.9 14.9 135.0)
OKLCHoklch(0.935 0.040 135.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def0d6 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#def0d6 on black: 17.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green94.1%
Blue83.9%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow10.8%
Key (black)5.9%

Color previews

#def0d6 text on a black background

contrast 17.54:1

Card sample

#def0d6 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def0d6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def0d6 in the Color Lab