Skip to content

#d2ffb7

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

RGB
210, 255, 183
HSL
98°, 100%, 86%
CMYK
18, 0, 28, 0
Luminance
0.8864

Every format

HEX#d2ffb7
RGBrgb(210, 255, 183)
HSLhsl(98, 100%, 86%)
CMYKcmyk(18%, 0%, 28%, 0%)
LABlab(95.4 -26.9 29.8)
LCHlch(95.4 40.1 132.0)
OKLCHoklch(0.951 0.105 134.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green100.0%
Blue71.8%

CMYK percentages

Cyan17.6%
Magenta0.0%
Yellow28.2%
Key (black)0.0%

Color previews

#d2ffb7 text on a black background

contrast 18.73:1

Card sample

#d2ffb7 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ffb7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ffb7 in the Color Lab