Skip to content

#def4ac

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

RGB
222, 244, 172
HSL
78°, 77%, 82%
CMYK
9, 0, 30, 4
Luminance
0.8321

Every format

HEX#def4ac
RGBrgb(222, 244, 172)
HSLhsl(78, 77%, 82%)
CMYKcmyk(9%, 0%, 30%, 4%)
LABlab(93.1 -18.9 32.4)
LCHlch(93.1 37.5 120.3)
OKLCHoklch(0.934 0.096 122.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green95.7%
Blue67.5%

CMYK percentages

Cyan9.0%
Magenta0.0%
Yellow29.5%
Key (black)4.3%

Color previews

#def4ac text on a black background

contrast 17.64:1

Card sample

#def4ac text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def4ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def4ac in the Color Lab