Skip to content

#d0f8af

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

RGB
208, 248, 175
HSL
93°, 84%, 83%
CMYK
16, 0, 29, 3
Luminance
0.8364

Every format

HEX#d0f8af
RGBrgb(208, 248, 175)
HSLhsl(93, 84%, 83%)
CMYKcmyk(16%, 0%, 29%, 3%)
LABlab(93.3 -25.4 31.0)
LCHlch(93.3 40.0 129.4)
OKLCHoklch(0.933 0.104 131.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0f8af on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#d0f8af on black: 17.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green97.3%
Blue68.6%

CMYK percentages

Cyan16.1%
Magenta0.0%
Yellow29.4%
Key (black)2.7%

Color previews

#d0f8af text on a black background

contrast 17.73:1

Card sample

#d0f8af text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0f8af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0f8af in the Color Lab