Skip to content

#d2f082

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

RGB
210, 240, 130
HSL
76°, 79%, 73%
CMYK
13, 0, 46, 6
Luminance
0.7763

Every format

HEX#d2f082
RGBrgb(210, 240, 130)
HSLhsl(76, 79%, 73%)
CMYKcmyk(13%, 0%, 46%, 6%)
LABlab(90.6 -26.4 49.7)
LCHlch(90.6 56.3 118.0)
OKLCHoklch(0.910 0.140 121.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f082 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#d2f082 on black: 16.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green94.1%
Blue51.0%

CMYK percentages

Cyan12.5%
Magenta0.0%
Yellow45.8%
Key (black)5.9%

Color previews

#d2f082 text on a black background

contrast 16.53:1

Card sample

#d2f082 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 240, 130, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 240, 130, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2f082;
background: linear-gradient(135deg, #d2f082, #88F082);

Monochromatic scale

Palettes built from #d2f082

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f082 in the Color Lab