Skip to content

#d2f7ba

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

RGB
210, 247, 186
HSL
96°, 79%, 85%
CMYK
15, 0, 25, 3
Luminance
0.8377

Every format

HEX#d2f7ba
RGBrgb(210, 247, 186)
HSLhsl(96, 79%, 85%)
CMYKcmyk(15%, 0%, 25%, 3%)
LABlab(93.3 -22.6 25.5)
LCHlch(93.3 34.1 131.6)
OKLCHoklch(0.935 0.089 133.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f7ba on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#d2f7ba on black: 17.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green96.9%
Blue72.9%

CMYK percentages

Cyan15.0%
Magenta0.0%
Yellow24.7%
Key (black)3.1%

Color previews

#d2f7ba text on a black background

contrast 17.75:1

Card sample

#d2f7ba text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 247, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 247, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2f7ba;
background: linear-gradient(135deg, #d2f7ba, #BAF7CB);

Monochromatic scale

Palettes built from #d2f7ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f7ba in the Color Lab