Skip to content

#dcf2ac

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

RGB
220, 242, 172
HSL
79°, 73%, 81%
CMYK
9, 0, 29, 5
Luminance
0.8170

Every format

HEX#dcf2ac
RGBrgb(220, 242, 172)
HSLhsl(79, 73%, 81%)
CMYKcmyk(9%, 0%, 29%, 5%)
LABlab(92.4 -18.7 31.5)
LCHlch(92.4 36.6 120.7)
OKLCHoklch(0.928 0.093 122.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcf2ac on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#dcf2ac on black: 17.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green94.9%
Blue67.5%

CMYK percentages

Cyan9.1%
Magenta0.0%
Yellow28.9%
Key (black)5.1%

Color previews

#dcf2ac text on a black background

contrast 17.34:1

Card sample

#dcf2ac text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcf2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcf2ac in the Color Lab