Skip to content

#def09c

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

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

Every format

HEX#def09c
RGBrgb(222, 240, 156)
HSLhsl(73, 74%, 78%)
CMYKcmyk(8%, 0%, 35%, 6%)
LABlab(91.8 -19.0 38.7)
LCHlch(91.8 43.1 116.2)
OKLCHoklch(0.923 0.109 118.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green94.1%
Blue61.2%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow35.0%
Key (black)5.9%

Color previews

#def09c text on a black background

contrast 17.05:1

Card sample

#def09c text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def09c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def09c in the Color Lab