Skip to content

#d7fd8c

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

RGB
215, 253, 140
HSL
80°, 97%, 77%
CMYK
15, 0, 45, 1
Luminance
0.8659

Every format

HEX#d7fd8c
RGBrgb(215, 253, 140)
HSLhsl(80, 97%, 77%)
CMYKcmyk(15%, 0%, 45%, 1%)
LABlab(94.6 -29.6 49.9)
LCHlch(94.6 58.0 120.7)
OKLCHoklch(0.943 0.146 124.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7fd8c on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#d7fd8c on black: 18.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green99.2%
Blue54.9%

CMYK percentages

Cyan15.0%
Magenta0.0%
Yellow44.7%
Key (black)0.8%

Color previews

#d7fd8c text on a black background

contrast 18.32:1

Card sample

#d7fd8c text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7fd8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7fd8c in the Color Lab