Skip to content

#d0fbab

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

RGB
208, 251, 171
HSL
92°, 91%, 83%
CMYK
17, 0, 32, 2
Luminance
0.8534

Every format

HEX#d0fbab
RGBrgb(208, 251, 171)
HSLhsl(92, 91%, 83%)
CMYKcmyk(17%, 0%, 32%, 2%)
LABlab(94.0 -27.4 34.0)
LCHlch(94.0 43.6 128.9)
OKLCHoklch(0.939 0.113 131.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.6%
Green98.4%
Blue67.1%

CMYK percentages

Cyan17.1%
Magenta0.0%
Yellow31.9%
Key (black)1.6%

Color previews

#d0fbab text on a black background

contrast 18.07:1

Card sample

#d0fbab text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0fbab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0fbab in the Color Lab