Skip to content

#def7cb

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

RGB
222, 247, 203
HSL
94°, 73%, 88%
CMYK
10, 0, 18, 3
Luminance
0.8636

Every format

HEX#def7cb
RGBrgb(222, 247, 203)
HSLhsl(94, 73%, 88%)
CMYKcmyk(10%, 0%, 18%, 3%)
LABlab(94.5 -15.8 18.5)
LCHlch(94.5 24.3 130.6)
OKLCHoklch(0.947 0.064 131.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green96.9%
Blue79.6%

CMYK percentages

Cyan10.1%
Magenta0.0%
Yellow17.8%
Key (black)3.1%

Color previews

#def7cb text on a black background

contrast 18.27:1

Card sample

#def7cb text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def7cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def7cb in the Color Lab