Skip to content

#def5d4

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

RGB
222, 245, 212
HSL
102°, 62%, 90%
CMYK
9, 0, 14, 4
Luminance
0.8559

Every format

HEX#def5d4
RGBrgb(222, 245, 212)
HSLhsl(102, 62%, 90%)
CMYKcmyk(9%, 0%, 14%, 4%)
LABlab(94.1 -13.4 13.4)
LCHlch(94.1 18.9 135.0)
OKLCHoklch(0.945 0.050 136.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def5d4 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#def5d4 on black: 18.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green96.1%
Blue83.1%

CMYK percentages

Cyan9.4%
Magenta0.0%
Yellow13.5%
Key (black)3.9%

Color previews

#def5d4 text on a black background

contrast 18.12:1

Card sample

#def5d4 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def5d4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def5d4 in the Color Lab