Skip to content

#daf721

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

RGB
218, 247, 33
HSL
68°, 93%, 55%
CMYK
12, 0, 87, 3
Luminance
0.8154

Every format

HEX#daf721
RGBrgb(218, 247, 33)
HSLhsl(68, 93%, 55%)
CMYKcmyk(12%, 0%, 87%, 3%)
LABlab(92.4 -32.4 86.2)
LCHlch(92.4 92.1 110.6)
OKLCHoklch(0.923 0.209 118.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#daf721 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#daf721 on black: 17.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green96.9%
Blue12.9%

CMYK percentages

Cyan11.7%
Magenta0.0%
Yellow86.6%
Key (black)3.1%

Color previews

#daf721 text on a black background

contrast 17.31:1

Card sample

#daf721 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 247, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 247, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #daf721;
background: linear-gradient(135deg, #daf721, #4BF721);

Monochromatic scale

Palettes built from #daf721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daf721 in the Color Lab