Skip to content

#dafbc2

a pale, electric green · cool · closest name: beige

RGB
218, 251, 194
HSL
95°, 88%, 87%
CMYK
13, 0, 23, 2
Luminance
0.8779

Every format

HEX#dafbc2
RGBrgb(218, 251, 194)
HSLhsl(95, 88%, 87%)
CMYKcmyk(13%, 0%, 23%, 2%)
LABlab(95.1 -20.6 23.9)
LCHlch(95.1 31.5 130.8)
OKLCHoklch(0.950 0.082 132.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green98.4%
Blue76.1%

CMYK percentages

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

Color previews

#dafbc2 text on a black background

contrast 18.56:1

Card sample

#dafbc2 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dafbc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dafbc2 in the Color Lab