Skip to content

#dcfcaf

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

RGB
220, 252, 175
HSL
85°, 93%, 84%
CMYK
13, 0, 31, 1
Luminance
0.8793

Every format

HEX#dcfcaf
RGBrgb(220, 252, 175)
HSLhsl(85, 93%, 84%)
CMYKcmyk(13%, 0%, 31%, 1%)
LABlab(95.1 -23.1 33.6)
LCHlch(95.1 40.7 124.5)
OKLCHoklch(0.950 0.105 126.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green98.8%
Blue68.6%

CMYK percentages

Cyan12.7%
Magenta0.0%
Yellow30.6%
Key (black)1.2%

Color previews

#dcfcaf text on a black background

contrast 18.59:1

Card sample

#dcfcaf text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcfcaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcfcaf in the Color Lab