Skip to content

#daf080

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

RGB
218, 240, 128
HSL
72°, 79%, 72%
CMYK
9, 0, 47, 6
Luminance
0.7878

Every format

HEX#daf080
RGBrgb(218, 240, 128)
HSLhsl(72, 79%, 72%)
CMYKcmyk(9%, 0%, 47%, 6%)
LABlab(91.1 -23.6 51.4)
LCHlch(91.1 56.6 114.7)
OKLCHoklch(0.915 0.140 118.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#daf080 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#daf080 on black: 16.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green94.1%
Blue50.2%

CMYK percentages

Cyan9.2%
Magenta0.0%
Yellow46.7%
Key (black)5.9%

Color previews

#daf080 text on a black background

contrast 16.76:1

Card sample

#daf080 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #daf080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daf080 in the Color Lab