Skip to content

#d0f7af

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

RGB
208, 247, 175
HSL
93°, 82%, 83%
CMYK
16, 0, 29, 3
Luminance
0.8303

Every format

HEX#d0f7af
RGBrgb(208, 247, 175)
HSLhsl(93, 82%, 83%)
CMYKcmyk(16%, 0%, 29%, 3%)
LABlab(93.0 -24.9 30.6)
LCHlch(93.0 39.5 129.2)
OKLCHoklch(0.931 0.102 131.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0f7af on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#d0f7af on black: 17.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green96.9%
Blue68.6%

CMYK percentages

Cyan15.8%
Magenta0.0%
Yellow29.1%
Key (black)3.1%

Color previews

#d0f7af text on a black background

contrast 17.61:1

Card sample

#d0f7af text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0f7af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0f7af in the Color Lab