Skip to content

#d2fba5

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

RGB
210, 251, 165
HSL
89°, 92%, 82%
CMYK
16, 0, 34, 2
Luminance
0.8541

Every format

HEX#d2fba5
RGBrgb(210, 251, 165)
HSLhsl(89, 92%, 82%)
CMYKcmyk(16%, 0%, 34%, 2%)
LABlab(94.1 -27.5 37.0)
LCHlch(94.1 46.1 126.6)
OKLCHoklch(0.939 0.119 129.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green98.4%
Blue64.7%

CMYK percentages

Cyan16.3%
Magenta0.0%
Yellow34.3%
Key (black)1.6%

Color previews

#d2fba5 text on a black background

contrast 18.08:1

Card sample

#d2fba5 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2fba5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2fba5 in the Color Lab