Skip to content

#d7eb8c

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

RGB
215, 235, 140
HSL
73°, 70%, 74%
CMYK
9, 0, 40, 8
Luminance
0.7576

Every format

HEX#d7eb8c
RGBrgb(215, 235, 140)
HSLhsl(73, 70%, 74%)
CMYKcmyk(9%, 0%, 40%, 8%)
LABlab(89.8 -21.1 43.9)
LCHlch(89.8 48.7 115.7)
OKLCHoklch(0.904 0.122 118.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red84.3%
Green92.2%
Blue54.9%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow40.4%
Key (black)7.8%

Color previews

#d7eb8c text on a black background

contrast 16.15:1

Card sample

#d7eb8c text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7eb8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7eb8c in the Color Lab