Skip to content

#dafcaf

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

RGB
218, 252, 175
HSL
87°, 93%, 84%
CMYK
14, 0, 31, 1
Luminance
0.8762

Every format

HEX#dafcaf
RGBrgb(218, 252, 175)
HSLhsl(87, 93%, 84%)
CMYKcmyk(14%, 0%, 31%, 1%)
LABlab(95.0 -23.8 33.4)
LCHlch(95.0 41.0 125.5)
OKLCHoklch(0.949 0.105 127.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green98.8%
Blue68.6%

CMYK percentages

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

Color previews

#dafcaf text on a black background

contrast 18.52:1

Card sample

#dafcaf text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dafcaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dafcaf in the Color Lab