Skip to content

#d2eb9f

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

RGB
210, 235, 159
HSL
80°, 66%, 77%
CMYK
11, 0, 32, 8
Luminance
0.7562

Every format

HEX#d2eb9f
RGBrgb(210, 235, 159)
HSLhsl(80, 66%, 77%)
CMYKcmyk(11%, 0%, 32%, 8%)
LABlab(89.7 -20.6 34.2)
LCHlch(89.7 40.0 121.1)
OKLCHoklch(0.904 0.102 123.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2eb9f on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#d2eb9f on black: 16.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green92.2%
Blue62.4%

CMYK percentages

Cyan10.6%
Magenta0.0%
Yellow32.3%
Key (black)7.8%

Color previews

#d2eb9f text on a black background

contrast 16.12:1

Card sample

#d2eb9f text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2eb9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2eb9f in the Color Lab