Skip to content

#fffe5d

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

RGB
255, 254, 93
HSL
60°, 100%, 68%
CMYK
0, 0, 64, 0
Luminance
0.9293

Every format

HEX#fffe5d
RGBrgb(255, 254, 93)
HSLhsl(60, 100%, 68%)
CMYKcmyk(0%, 0%, 64%, 0%)
LABlab(97.2 -18.5 74.1)
LCHlch(97.2 76.4 104.0)
OKLCHoklch(0.970 0.177 108.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffe5d on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fffe5d on black: 19.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green99.6%
Blue36.5%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow63.5%
Key (black)0.0%

Color previews

#fffe5d text on a black background

contrast 19.59:1

Card sample

#fffe5d text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 254, 93, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 254, 93, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fffe5d;
background: linear-gradient(135deg, #fffe5d, #94FF5D);

Monochromatic scale

Palettes built from #fffe5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffe5d in the Color Lab