Skip to content

#def09d

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

RGB
222, 240, 157
HSL
73°, 74%, 78%
CMYK
8, 0, 35, 6
Luminance
0.8028

Every format

HEX#def09d
RGBrgb(222, 240, 157)
HSLhsl(73, 74%, 78%)
CMYKcmyk(8%, 0%, 35%, 6%)
LABlab(91.8 -18.9 38.2)
LCHlch(91.8 42.6 116.3)
OKLCHoklch(0.923 0.107 118.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def09d on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#def09d on black: 17.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green94.1%
Blue61.6%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow34.6%
Key (black)5.9%

Color previews

#def09d text on a black background

contrast 17.06:1

Card sample

#def09d text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def09d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def09d in the Color Lab