Skip to content

#def5cb

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

RGB
222, 245, 203
HSL
93°, 68%, 88%
CMYK
9, 0, 17, 4
Luminance
0.8515

Every format

HEX#def5cb
RGBrgb(222, 245, 203)
HSLhsl(93, 68%, 88%)
CMYKcmyk(9%, 0%, 17%, 4%)
LABlab(94.0 -14.8 17.7)
LCHlch(94.0 23.1 129.9)
OKLCHoklch(0.942 0.060 131.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan9.4%
Magenta0.0%
Yellow17.1%
Key (black)3.9%

Color previews

#def5cb text on a black background

contrast 18.03:1

Card sample

#def5cb text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def5cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def5cb in the Color Lab