Skip to content

#d2fba3

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

RGB
210, 251, 163
HSL
88°, 92%, 81%
CMYK
16, 0, 35, 2
Luminance
0.8534

Every format

HEX#d2fba3
RGBrgb(210, 251, 163)
HSLhsl(88, 92%, 81%)
CMYKcmyk(16%, 0%, 35%, 2%)
LABlab(94.0 -27.8 38.0)
LCHlch(94.0 47.0 126.2)
OKLCHoklch(0.939 0.121 128.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2fba3 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#d2fba3 on black: 18.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green98.4%
Blue63.9%

CMYK percentages

Cyan16.3%
Magenta0.0%
Yellow35.1%
Key (black)1.6%

Color previews

#d2fba3 text on a black background

contrast 18.07:1

Card sample

#d2fba3 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2fba3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2fba3 in the Color Lab