Skip to content

#d2f2bf

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

RGB
210, 242, 191
HSL
98°, 66%, 85%
CMYK
13, 0, 21, 5
Luminance
0.8097

Every format

HEX#d2f2bf
RGBrgb(210, 242, 191)
HSLhsl(98, 66%, 85%)
CMYKcmyk(13%, 0%, 21%, 5%)
LABlab(92.1 -19.4 21.2)
LCHlch(92.1 28.8 132.5)
OKLCHoklch(0.925 0.075 133.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2f2bf on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#d2f2bf on black: 17.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green94.9%
Blue74.9%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow21.1%
Key (black)5.1%

Color previews

#d2f2bf text on a black background

contrast 17.19:1

Card sample

#d2f2bf text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f2bf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f2bf in the Color Lab