Skip to content

#fffe4f

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

RGB
255, 254, 79
HSL
60°, 100%, 66%
CMYK
0, 0, 69, 0
Luminance
0.9271

Every format

HEX#fffe4f
RGBrgb(255, 254, 79)
HSLhsl(60, 100%, 66%)
CMYKcmyk(0%, 0%, 69%, 0%)
LABlab(97.1 -19.2 79.1)
LCHlch(97.1 81.4 103.7)
OKLCHoklch(0.969 0.186 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue31.0%

CMYK percentages

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

Color previews

#fffe4f text on a black background

contrast 19.54:1

Card sample

#fffe4f text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffe4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffe4f in the Color Lab