Skip to content

#d2ec6f

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

RGB
210, 236, 111
HSL
73°, 77%, 68%
CMYK
11, 0, 53, 8
Luminance
0.7484

Every format

HEX#d2ec6f
RGBrgb(210, 236, 111)
HSLhsl(73, 77%, 68%)
CMYKcmyk(11%, 0%, 53%, 8%)
LABlab(89.3 -26.4 57.0)
LCHlch(89.3 62.8 114.8)
OKLCHoklch(0.899 0.153 119.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ec6f on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#d2ec6f on black: 15.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green92.5%
Blue43.5%

CMYK percentages

Cyan11.0%
Magenta0.0%
Yellow53.0%
Key (black)7.5%

Color previews

#d2ec6f text on a black background

contrast 15.97:1

Card sample

#d2ec6f text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ec6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ec6f in the Color Lab