Skip to content

#def4b3

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

RGB
222, 244, 179
HSL
80°, 75%, 83%
CMYK
9, 0, 27, 4
Luminance
0.8349

Every format

HEX#def4b3
RGBrgb(222, 244, 179)
HSLhsl(80, 75%, 83%)
CMYKcmyk(9%, 0%, 27%, 4%)
LABlab(93.2 -18.0 29.0)
LCHlch(93.2 34.1 121.8)
OKLCHoklch(0.935 0.087 123.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def4b3 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#def4b3 on black: 17.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green95.7%
Blue70.2%

CMYK percentages

Cyan9.0%
Magenta0.0%
Yellow26.6%
Key (black)4.3%

Color previews

#def4b3 text on a black background

contrast 17.70:1

Card sample

#def4b3 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def4b3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def4b3 in the Color Lab