Skip to content

#d9ffb3

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

RGB
217, 255, 179
HSL
90°, 100%, 85%
CMYK
15, 0, 30, 0
Luminance
0.8953

Every format

HEX#d9ffb3
RGBrgb(217, 255, 179)
HSLhsl(90, 100%, 85%)
CMYKcmyk(15%, 0%, 30%, 0%)
LABlab(95.8 -25.0 32.4)
LCHlch(95.8 41.0 127.7)
OKLCHoklch(0.955 0.106 129.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d9ffb3 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#d9ffb3 on black: 18.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green100.0%
Blue70.2%

CMYK percentages

Cyan14.9%
Magenta0.0%
Yellow29.8%
Key (black)0.0%

Color previews

#d9ffb3 text on a black background

contrast 18.91:1

Card sample

#d9ffb3 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9ffb3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9ffb3 in the Color Lab