Skip to content

#d2ff9b

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

RGB
210, 255, 155
HSL
87°, 100%, 80%
CMYK
18, 0, 39, 0
Luminance
0.8759

Every format

HEX#d2ff9b
RGBrgb(210, 255, 155)
HSLhsl(87, 100%, 80%)
CMYKcmyk(18%, 0%, 39%, 0%)
LABlab(95.0 -30.6 43.1)
LCHlch(95.0 52.9 125.4)
OKLCHoklch(0.946 0.135 128.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ff9b on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#d2ff9b on black: 18.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green100.0%
Blue60.8%

CMYK percentages

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

Color previews

#d2ff9b text on a black background

contrast 18.52:1

Card sample

#d2ff9b text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ff9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ff9b in the Color Lab