Skip to content

#daff0f

a balanced, electric yellow · cool · closest name: yellow

RGB
218, 255, 15
HSL
69°, 100%, 53%
CMYK
15, 0, 94, 0
Luminance
0.8646

Every format

HEX#daff0f
RGBrgb(218, 255, 15)
HSLhsl(69, 100%, 53%)
CMYKcmyk(15%, 0%, 94%, 0%)
LABlab(94.5 -36.4 90.2)
LCHlch(94.5 97.3 111.9)
OKLCHoklch(0.940 0.221 119.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green100.0%
Blue5.9%

CMYK percentages

Cyan14.5%
Magenta0.0%
Yellow94.1%
Key (black)0.0%

Color previews

#daff0f text on a black background

contrast 18.29:1

Card sample

#daff0f text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #daff0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daff0f in the Color Lab