Skip to content

#fffe1e

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

RGB
255, 254, 30
HSL
60°, 100%, 56%
CMYK
0, 0, 88, 0
Luminance
0.9224

Every format

HEX#fffe1e
RGBrgb(255, 254, 30)
HSLhsl(60, 100%, 56%)
CMYKcmyk(0%, 0%, 88%, 0%)
LABlab(96.9 -20.8 91.4)
LCHlch(96.9 93.8 102.8)
OKLCHoklch(0.966 0.206 109.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue11.8%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow88.2%
Key (black)0.0%

Color previews

#fffe1e text on a black background

contrast 19.45:1

Card sample

#fffe1e text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffe1e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffe1e in the Color Lab