Skip to content

#daf06c

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

RGB
218, 240, 108
HSL
70°, 82%, 68%
CMYK
9, 0, 55, 6
Luminance
0.7831

Every format

HEX#daf06c
RGBrgb(218, 240, 108)
HSLhsl(70, 82%, 68%)
CMYKcmyk(9%, 0%, 55%, 6%)
LABlab(90.9 -25.4 60.3)
LCHlch(90.9 65.4 112.9)
OKLCHoklch(0.913 0.159 117.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#daf06c on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#daf06c on black: 16.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green94.1%
Blue42.4%

CMYK percentages

Cyan9.2%
Magenta0.0%
Yellow55.0%
Key (black)5.9%

Color previews

#daf06c text on a black background

contrast 16.66:1

Card sample

#daf06c text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 240, 108, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 240, 108, 0.45);
Border & gradient
Gradient panel
border: 3px solid #daf06c;
background: linear-gradient(135deg, #daf06c, #82F06C);

Monochromatic scale

Palettes built from #daf06c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daf06c in the Color Lab