Skip to content

#d0fba2

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

RGB
208, 251, 162
HSL
89°, 92%, 81%
CMYK
17, 0, 36, 2
Luminance
0.8501

Every format

HEX#d0fba2
RGBrgb(208, 251, 162)
HSLhsl(89, 92%, 81%)
CMYKcmyk(17%, 0%, 36%, 2%)
LABlab(93.9 -28.6 38.3)
LCHlch(93.9 47.8 126.8)
OKLCHoklch(0.937 0.123 129.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0fba2 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#d0fba2 on black: 18.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green98.4%
Blue63.5%

CMYK percentages

Cyan17.1%
Magenta0.0%
Yellow35.5%
Key (black)1.6%

Color previews

#d0fba2 text on a black background

contrast 18.00:1

Card sample

#d0fba2 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0fba2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0fba2 in the Color Lab