Skip to content

#d0ffaf

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

RGB
208, 255, 175
HSL
95°, 100%, 84%
CMYK
18, 0, 31, 0
Luminance
0.8803

Every format

HEX#d0ffaf
RGBrgb(208, 255, 175)
HSLhsl(95, 100%, 84%)
CMYKcmyk(18%, 0%, 31%, 0%)
LABlab(95.2 -28.7 33.5)
LCHlch(95.2 44.1 130.6)
OKLCHoklch(0.948 0.115 133.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0ffaf on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#d0ffaf on black: 18.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green100.0%
Blue68.6%

CMYK percentages

Cyan18.4%
Magenta0.0%
Yellow31.4%
Key (black)0.0%

Color previews

#d0ffaf text on a black background

contrast 18.61:1

Card sample

#d0ffaf text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0ffaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0ffaf in the Color Lab