Skip to content

#def6ac

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

RGB
222, 246, 172
HSL
80°, 80%, 82%
CMYK
10, 0, 30, 4
Luminance
0.8442

Every format

HEX#def6ac
RGBrgb(222, 246, 172)
HSLhsl(80, 80%, 82%)
CMYKcmyk(10%, 0%, 30%, 4%)
LABlab(93.6 -19.9 33.1)
LCHlch(93.6 38.6 121.0)
OKLCHoklch(0.938 0.099 122.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def6ac on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#def6ac on black: 17.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green96.5%
Blue67.5%

CMYK percentages

Cyan9.8%
Magenta0.0%
Yellow30.1%
Key (black)3.5%

Color previews

#def6ac text on a black background

contrast 17.88:1

Card sample

#def6ac text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def6ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def6ac in the Color Lab