Skip to content

#d2df9e

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

RGB
210, 223, 158
HSL
72°, 50%, 75%
CMYK
6, 0, 29, 13
Luminance
0.6895

Every format

HEX#d2df9e
RGBrgb(210, 223, 158)
HSLhsl(72, 50%, 75%)
CMYKcmyk(6%, 0%, 29%, 13%)
LABlab(86.5 -14.9 30.5)
LCHlch(86.5 33.9 116.0)
OKLCHoklch(0.878 0.086 117.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2df9e on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#d2df9e on black: 14.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green87.5%
Blue62.0%

CMYK percentages

Cyan5.8%
Magenta0.0%
Yellow29.1%
Key (black)12.5%

Color previews

#d2df9e text on a black background

contrast 14.79:1

Card sample

#d2df9e text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2df9e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2df9e in the Color Lab