Skip to content

#dff2ac

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

RGB
223, 242, 172
HSL
76°, 73%, 81%
CMYK
8, 0, 29, 5
Luminance
0.8217

Every format

HEX#dff2ac
RGBrgb(223, 242, 172)
HSLhsl(76, 73%, 81%)
CMYKcmyk(8%, 0%, 29%, 5%)
LABlab(92.7 -17.6 31.8)
LCHlch(92.7 36.3 118.9)
OKLCHoklch(0.930 0.093 120.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dff2ac on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#dff2ac on black: 17.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green94.9%
Blue67.5%

CMYK percentages

Cyan7.9%
Magenta0.0%
Yellow28.9%
Key (black)5.1%

Color previews

#dff2ac text on a black background

contrast 17.43:1

Card sample

#dff2ac text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dff2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dff2ac in the Color Lab