Skip to content

#d0fcaf

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

RGB
208, 252, 175
HSL
94°, 93%, 84%
CMYK
18, 0, 31, 1
Luminance
0.8613

Every format

HEX#d0fcaf
RGBrgb(208, 252, 175)
HSLhsl(94, 93%, 84%)
CMYKcmyk(18%, 0%, 31%, 1%)
LABlab(94.4 -27.3 32.4)
LCHlch(94.4 42.4 130.1)
OKLCHoklch(0.942 0.110 132.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0fcaf on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#d0fcaf on black: 18.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green98.8%
Blue68.6%

CMYK percentages

Cyan17.5%
Magenta0.0%
Yellow30.6%
Key (black)1.2%

Color previews

#d0fcaf text on a black background

contrast 18.23:1

Card sample

#d0fcaf text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0fcaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0fcaf in the Color Lab