Skip to content

#d7f2cf

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

RGB
215, 242, 207
HSL
106°, 57%, 88%
CMYK
11, 0, 15, 5
Luminance
0.8246

Every format

HEX#d7f2cf
RGBrgb(215, 242, 207)
HSLhsl(106, 57%, 88%)
CMYKcmyk(11%, 0%, 15%, 5%)
LABlab(92.8 -15.1 14.0)
LCHlch(92.8 20.6 137.3)
OKLCHoklch(0.932 0.054 138.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7f2cf on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#d7f2cf on black: 17.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green94.9%
Blue81.2%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow14.5%
Key (black)5.1%

Color previews

#d7f2cf text on a black background

contrast 17.49:1

Card sample

#d7f2cf text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7f2cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7f2cf in the Color Lab