Skip to content

#d2f261

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

RGB
210, 242, 97
HSL
73°, 85%, 67%
CMYK
13, 0, 60, 5
Luminance
0.7807

Every format

HEX#d2f261
RGBrgb(210, 242, 97)
HSLhsl(73, 85%, 67%)
CMYKcmyk(13%, 0%, 60%, 5%)
LABlab(90.8 -30.3 64.7)
LCHlch(90.8 71.5 115.1)
OKLCHoklch(0.910 0.173 120.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f261 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#d2f261 on black: 16.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green94.9%
Blue38.0%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow59.9%
Key (black)5.1%

Color previews

#d2f261 text on a black background

contrast 16.61:1

Card sample

#d2f261 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 242, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 242, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2f261;
background: linear-gradient(135deg, #d2f261, #72F261);

Monochromatic scale

Palettes built from #d2f261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f261 in the Color Lab