Skip to content

#d2ffb2

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

RGB
210, 255, 178
HSL
95°, 100%, 85%
CMYK
18, 0, 30, 0
Luminance
0.8844

Every format

HEX#d2ffb2
RGBrgb(210, 255, 178)
HSLhsl(95, 100%, 85%)
CMYKcmyk(18%, 0%, 30%, 0%)
LABlab(95.3 -27.6 32.2)
LCHlch(95.3 42.4 130.6)
OKLCHoklch(0.950 0.110 132.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ffb2 on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#d2ffb2 on black: 18.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green100.0%
Blue69.8%

CMYK percentages

Cyan17.6%
Magenta0.0%
Yellow30.2%
Key (black)0.0%

Color previews

#d2ffb2 text on a black background

contrast 18.69:1

Card sample

#d2ffb2 text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ffb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ffb2 in the Color Lab