Skip to content

#d2eb5f

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

RGB
210, 235, 95
HSL
71°, 78%, 65%
CMYK
11, 0, 60, 8
Luminance
0.7394

Every format

HEX#d2eb5f
RGBrgb(210, 235, 95)
HSLhsl(71, 78%, 65%)
CMYKcmyk(11%, 0%, 60%, 8%)
LABlab(88.9 -27.2 63.5)
LCHlch(88.9 69.0 113.2)
OKLCHoklch(0.895 0.166 118.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green92.2%
Blue37.3%

CMYK percentages

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

Color previews

#d2eb5f text on a black background

contrast 15.79:1

Card sample

#d2eb5f text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2eb5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2eb5f in the Color Lab