Skip to content

#dff02c

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

RGB
223, 240, 44
HSL
65°, 87%, 56%
CMYK
7, 0, 82, 6
Luminance
0.7819

Every format

HEX#dff02c
RGBrgb(223, 240, 44)
HSLhsl(65, 87%, 56%)
CMYKcmyk(7%, 0%, 82%, 6%)
LABlab(90.9 -26.9 82.8)
LCHlch(90.9 87.1 108.0)
OKLCHoklch(0.912 0.197 115.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green94.1%
Blue17.3%

CMYK percentages

Cyan7.1%
Magenta0.0%
Yellow81.7%
Key (black)5.9%

Color previews

#dff02c text on a black background

contrast 16.64:1

Card sample

#dff02c text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 240, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 240, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dff02c;
background: linear-gradient(135deg, #dff02c, #5CF02C);

Monochromatic scale

Palettes built from #dff02c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dff02c in the Color Lab