Skip to content

#fdff28

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

RGB
253, 255, 40
HSL
61°, 100%, 58%
CMYK
1, 0, 84, 0
Luminance
0.9256

Every format

HEX#fdff28
RGBrgb(253, 255, 40)
HSLhsl(61, 100%, 58%)
CMYKcmyk(1%, 0%, 84%, 0%)
LABlab(97.0 -21.9 89.7)
LCHlch(97.0 92.4 103.7)
OKLCHoklch(0.967 0.205 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdff28 on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fdff28 on black: 19.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green100.0%
Blue15.7%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow84.3%
Key (black)0.0%

Color previews

#fdff28 text on a black background

contrast 19.51:1

Card sample

#fdff28 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 255, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 255, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdff28;
background: linear-gradient(135deg, #fdff28, #6DFF28);

Monochromatic scale

Palettes built from #fdff28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdff28 in the Color Lab