Skip to content

#d2ffaf

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

RGB
210, 255, 175
HSL
94°, 100%, 84%
CMYK
18, 0, 31, 0
Luminance
0.8832

Every format

HEX#d2ffaf
RGBrgb(210, 255, 175)
HSLhsl(94, 100%, 84%)
CMYKcmyk(18%, 0%, 31%, 0%)
LABlab(95.3 -28.0 33.7)
LCHlch(95.3 43.8 129.8)
OKLCHoklch(0.950 0.114 132.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ffaf on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#d2ffaf on black: 18.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green100.0%
Blue68.6%

CMYK percentages

Cyan17.6%
Magenta0.0%
Yellow31.4%
Key (black)0.0%

Color previews

#d2ffaf text on a black background

contrast 18.66:1

Card sample

#d2ffaf text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ffaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ffaf in the Color Lab