Skip to content

#dafbaf

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

RGB
218, 251, 175
HSL
86°, 91%, 84%
CMYK
13, 0, 30, 2
Luminance
0.8699

Every format

HEX#dafbaf
RGBrgb(218, 251, 175)
HSLhsl(86, 91%, 84%)
CMYKcmyk(13%, 0%, 30%, 2%)
LABlab(94.7 -23.3 33.0)
LCHlch(94.7 40.4 125.2)
OKLCHoklch(0.946 0.104 127.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dafbaf on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#dafbaf on black: 18.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green98.4%
Blue68.6%

CMYK percentages

Cyan13.1%
Magenta0.0%
Yellow30.3%
Key (black)1.6%

Color previews

#dafbaf text on a black background

contrast 18.40:1

Card sample

#dafbaf text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dafbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dafbaf in the Color Lab