Skip to content

#d2fcac

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

RGB
210, 252, 172
HSL
92°, 93%, 83%
CMYK
17, 0, 32, 1
Luminance
0.8630

Every format

HEX#d2fcac
RGBrgb(210, 252, 172)
HSLhsl(92, 93%, 83%)
CMYKcmyk(17%, 0%, 32%, 1%)
LABlab(94.4 -27.0 34.0)
LCHlch(94.4 43.5 128.4)
OKLCHoklch(0.943 0.112 130.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2fcac on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#d2fcac on black: 18.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green98.8%
Blue67.5%

CMYK percentages

Cyan16.7%
Magenta0.0%
Yellow31.7%
Key (black)1.2%

Color previews

#d2fcac text on a black background

contrast 18.26:1

Card sample

#d2fcac text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2fcac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2fcac in the Color Lab