Skip to content

#d2eb5c

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

RGB
210, 235, 92
HSL
71°, 78%, 64%
CMYK
11, 0, 61, 8
Luminance
0.7389

Every format

HEX#d2eb5c
RGBrgb(210, 235, 92)
HSLhsl(71, 78%, 64%)
CMYKcmyk(11%, 0%, 61%, 8%)
LABlab(88.9 -27.4 64.7)
LCHlch(88.9 70.2 113.0)
OKLCHoklch(0.895 0.169 118.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green92.2%
Blue36.1%

CMYK percentages

Cyan10.6%
Magenta0.0%
Yellow60.9%
Key (black)7.8%

Color previews

#d2eb5c text on a black background

contrast 15.78:1

Card sample

#d2eb5c text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2eb5c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2eb5c in the Color Lab