Skip to content

#def4bc

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

RGB
222, 244, 188
HSL
84°, 72%, 85%
CMYK
9, 0, 23, 4
Luminance
0.8386

Every format

HEX#def4bc
RGBrgb(222, 244, 188)
HSLhsl(84, 72%, 85%)
CMYKcmyk(9%, 0%, 23%, 4%)
LABlab(93.4 -16.7 24.6)
LCHlch(93.4 29.8 124.1)
OKLCHoklch(0.937 0.077 125.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def4bc on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#def4bc on black: 17.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green95.7%
Blue73.7%

CMYK percentages

Cyan9.0%
Magenta0.0%
Yellow23.0%
Key (black)4.3%

Color previews

#def4bc text on a black background

contrast 17.77:1

Card sample

#def4bc text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def4bc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def4bc in the Color Lab