Skip to content

#def5ce

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

RGB
222, 245, 206
HSL
95°, 66%, 88%
CMYK
9, 0, 16, 4
Luminance
0.8529

Every format

HEX#def5ce
RGBrgb(222, 245, 206)
HSLhsl(95, 66%, 88%)
CMYKcmyk(9%, 0%, 16%, 4%)
LABlab(94.0 -14.4 16.3)
LCHlch(94.0 21.7 131.4)
OKLCHoklch(0.943 0.057 132.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green96.1%
Blue80.8%

CMYK percentages

Cyan9.4%
Magenta0.0%
Yellow15.9%
Key (black)3.9%

Color previews

#def5ce text on a black background

contrast 18.06:1

Card sample

#def5ce text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def5ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def5ce in the Color Lab