Skip to content

#d7fbab

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

RGB
215, 251, 171
HSL
87°, 91%, 83%
CMYK
14, 0, 32, 2
Luminance
0.8638

Every format

HEX#d7fbab
RGBrgb(215, 251, 171)
HSLhsl(87, 91%, 83%)
CMYKcmyk(14%, 0%, 32%, 2%)
LABlab(94.5 -24.9 34.6)
LCHlch(94.5 42.7 125.7)
OKLCHoklch(0.944 0.110 128.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red84.3%
Green98.4%
Blue67.1%

CMYK percentages

Cyan14.3%
Magenta0.0%
Yellow31.9%
Key (black)1.6%

Color previews

#d7fbab text on a black background

contrast 18.28:1

Card sample

#d7fbab text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7fbab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7fbab in the Color Lab