Skip to content

#d9eb8c

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

RGB
217, 235, 140
HSL
71°, 70%, 74%
CMYK
8, 0, 40, 8
Luminance
0.7606

Every format

HEX#d9eb8c
RGBrgb(217, 235, 140)
HSLhsl(71, 70%, 74%)
CMYKcmyk(8%, 0%, 40%, 8%)
LABlab(89.9 -20.3 44.1)
LCHlch(89.9 48.5 114.8)
OKLCHoklch(0.906 0.121 117.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d9eb8c on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#d9eb8c on black: 16.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green92.2%
Blue54.9%

CMYK percentages

Cyan7.7%
Magenta0.0%
Yellow40.4%
Key (black)7.8%

Color previews

#d9eb8c text on a black background

contrast 16.21:1

Card sample

#d9eb8c text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(217, 235, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(217, 235, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d9eb8c;
background: linear-gradient(135deg, #d9eb8c, #99EB8C);

Monochromatic scale

Palettes built from #d9eb8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9eb8c in the Color Lab