Skip to content

#d7ffb1

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

RGB
215, 255, 177
HSL
91°, 100%, 85%
CMYK
16, 0, 31, 0
Luminance
0.8914

Every format

HEX#d7ffb1
RGBrgb(215, 255, 177)
HSLhsl(91, 100%, 85%)
CMYKcmyk(16%, 0%, 31%, 0%)
LABlab(95.6 -26.0 33.2)
LCHlch(95.6 42.2 128.1)
OKLCHoklch(0.953 0.109 130.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7ffb1 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#d7ffb1 on black: 18.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green100.0%
Blue69.4%

CMYK percentages

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

Color previews

#d7ffb1 text on a black background

contrast 18.83:1

Card sample

#d7ffb1 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7ffb1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7ffb1 in the Color Lab