Skip to content

#def5cf

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

RGB
222, 245, 207
HSL
96°, 66%, 89%
CMYK
9, 0, 16, 4
Luminance
0.8534

Every format

HEX#def5cf
RGBrgb(222, 245, 207)
HSLhsl(96, 66%, 89%)
CMYKcmyk(9%, 0%, 16%, 4%)
LABlab(94.0 -14.2 15.8)
LCHlch(94.0 21.2 132.0)
OKLCHoklch(0.943 0.056 133.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green96.1%
Blue81.2%

CMYK percentages

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

Color previews

#def5cf text on a black background

contrast 18.07:1

Card sample

#def5cf text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def5cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def5cf in the Color Lab