Skip to content

#fffe5f

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

RGB
255, 254, 95
HSL
60°, 100%, 69%
CMYK
0, 0, 63, 0
Luminance
0.9297

Every format

HEX#fffe5f
RGBrgb(255, 254, 95)
HSLhsl(60, 100%, 69%)
CMYKcmyk(0%, 0%, 63%, 0%)
LABlab(97.2 -18.4 73.3)
LCHlch(97.2 75.6 104.1)
OKLCHoklch(0.970 0.175 108.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow62.7%
Key (black)0.0%

Color previews

#fffe5f text on a black background

contrast 19.59:1

Card sample

#fffe5f text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffe5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffe5f in the Color Lab