Skip to content

#dafba4

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

RGB
218, 251, 164
HSL
83°, 92%, 81%
CMYK
13, 0, 35, 2
Luminance
0.8658

Every format

HEX#dafba4
RGBrgb(218, 251, 164)
HSLhsl(83, 92%, 81%)
CMYKcmyk(13%, 0%, 35%, 2%)
LABlab(94.6 -24.8 38.3)
LCHlch(94.6 45.6 122.9)
OKLCHoklch(0.944 0.116 125.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dafba4 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#dafba4 on black: 18.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green98.4%
Blue64.3%

CMYK percentages

Cyan13.1%
Magenta0.0%
Yellow34.7%
Key (black)1.6%

Color previews

#dafba4 text on a black background

contrast 18.32:1

Card sample

#dafba4 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dafba4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dafba4 in the Color Lab