Skip to content

#fffe4e

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

RGB
255, 254, 78
HSL
60°, 100%, 65%
CMYK
0, 0, 69, 0
Luminance
0.9269

Every format

HEX#fffe4e
RGBrgb(255, 254, 78)
HSLhsl(60, 100%, 65%)
CMYKcmyk(0%, 0%, 69%, 0%)
LABlab(97.1 -19.3 79.5)
LCHlch(97.1 81.8 103.6)
OKLCHoklch(0.968 0.187 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue30.6%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow69.4%
Key (black)0.0%

Color previews

#fffe4e text on a black background

contrast 19.54:1

Card sample

#fffe4e text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffe4e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffe4e in the Color Lab