Skip to content

#d2f0d7

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

RGB
210, 240, 215
HSL
130°, 50%, 88%
CMYK
13, 0, 10, 6
Luminance
0.8093

Every format

HEX#d2f0d7
RGBrgb(210, 240, 215)
HSLhsl(130, 50%, 88%)
CMYKcmyk(13%, 0%, 10%, 6%)
LABlab(92.1 -14.4 8.8)
LCHlch(92.1 16.9 148.6)
OKLCHoklch(0.927 0.046 150.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green94.1%
Blue84.3%

CMYK percentages

Cyan12.5%
Magenta0.0%
Yellow10.4%
Key (black)5.9%

Color previews

#d2f0d7 text on a black background

contrast 17.19:1

Card sample

#d2f0d7 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2f0d7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2f0d7 in the Color Lab