Skip to content

#d2eb6c

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

RGB
210, 235, 108
HSL
72°, 76%, 67%
CMYK
11, 0, 54, 8
Luminance
0.7420

Every format

HEX#d2eb6c
RGBrgb(210, 235, 108)
HSLhsl(72, 76%, 67%)
CMYKcmyk(11%, 0%, 54%, 8%)
LABlab(89.0 -26.1 58.0)
LCHlch(89.0 63.6 114.3)
OKLCHoklch(0.896 0.155 118.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2eb6c on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#d2eb6c on black: 15.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green92.2%
Blue42.4%

CMYK percentages

Cyan10.6%
Magenta0.0%
Yellow54.0%
Key (black)7.8%

Color previews

#d2eb6c text on a black background

contrast 15.84:1

Card sample

#d2eb6c text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2eb6c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2eb6c in the Color Lab