Skip to content

#def7ae

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

RGB
222, 247, 174
HSL
81°, 82%, 83%
CMYK
10, 0, 30, 3
Luminance
0.8511

Every format

HEX#def7ae
RGBrgb(222, 247, 174)
HSLhsl(81, 82%, 83%)
CMYKcmyk(10%, 0%, 30%, 3%)
LABlab(93.9 -20.1 32.5)
LCHlch(93.9 38.2 121.8)
OKLCHoklch(0.941 0.098 123.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green96.9%
Blue68.2%

CMYK percentages

Cyan10.1%
Magenta0.0%
Yellow29.6%
Key (black)3.1%

Color previews

#def7ae text on a black background

contrast 18.02:1

Card sample

#def7ae text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def7ae

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def7ae in the Color Lab