Skip to content

#d2f8ba

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

RGB
210, 248, 186
HSL
97°, 82%, 85%
CMYK
15, 0, 25, 3
Luminance
0.8438

Every format

HEX#d2f8ba
RGBrgb(210, 248, 186)
HSLhsl(97, 82%, 85%)
CMYKcmyk(15%, 0%, 25%, 3%)
LABlab(93.6 -23.1 25.9)
LCHlch(93.6 34.7 131.8)
OKLCHoklch(0.937 0.091 133.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f8ba on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#d2f8ba on black: 17.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green97.3%
Blue72.9%

CMYK percentages

Cyan15.3%
Magenta0.0%
Yellow25.0%
Key (black)2.7%

Color previews

#d2f8ba text on a black background

contrast 17.88:1

Card sample

#d2f8ba text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f8ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f8ba in the Color Lab