Skip to content

#dffcaf

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

RGB
223, 252, 175
HSL
83°, 93%, 84%
CMYK
12, 0, 31, 1
Luminance
0.8840

Every format

HEX#dffcaf
RGBrgb(223, 252, 175)
HSLhsl(83, 93%, 84%)
CMYKcmyk(12%, 0%, 31%, 1%)
LABlab(95.3 -22.0 33.9)
LCHlch(95.3 40.4 123.0)
OKLCHoklch(0.952 0.103 125.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dffcaf on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#dffcaf on black: 18.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green98.8%
Blue68.6%

CMYK percentages

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

Color previews

#dffcaf text on a black background

contrast 18.68:1

Card sample

#dffcaf text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dffcaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dffcaf in the Color Lab