Skip to content

#d7ff6c

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

RGB
215, 255, 108
HSL
76°, 100%, 71%
CMYK
16, 0, 58, 0
Luminance
0.8705

Every format

HEX#d7ff6c
RGBrgb(215, 255, 108)
HSLhsl(76, 100%, 71%)
CMYKcmyk(16%, 0%, 58%, 0%)
LABlab(94.8 -33.5 64.6)
LCHlch(94.8 72.8 117.5)
OKLCHoklch(0.943 0.178 122.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7ff6c on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#d7ff6c on black: 18.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green100.0%
Blue42.4%

CMYK percentages

Cyan15.7%
Magenta0.0%
Yellow57.6%
Key (black)0.0%

Color previews

#d7ff6c text on a black background

contrast 18.41:1

Card sample

#d7ff6c text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(215, 255, 108, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(215, 255, 108, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d7ff6c;
background: linear-gradient(135deg, #d7ff6c, #75FF6C);

Monochromatic scale

Palettes built from #d7ff6c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7ff6c in the Color Lab