Skip to content

#def9b3

a light, electric green · cool · closest name: khaki

RGB
222, 249, 179
HSL
83°, 85%, 84%
CMYK
11, 0, 28, 2
Luminance
0.8654

Every format

HEX#def9b3
RGBrgb(222, 249, 179)
HSLhsl(83, 85%, 84%)
CMYKcmyk(11%, 0%, 28%, 2%)
LABlab(94.5 -20.4 30.8)
LCHlch(94.5 36.9 123.5)
OKLCHoklch(0.946 0.095 125.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green97.6%
Blue70.2%

CMYK percentages

Cyan10.8%
Magenta0.0%
Yellow28.1%
Key (black)2.4%

Color previews

#def9b3 text on a black background

contrast 18.31:1

Card sample

#def9b3 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def9b3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def9b3 in the Color Lab