Skip to content

#fffe0d

a balanced, electric yellow · cool · “yellow”

RGB
255, 254, 13
HSL
60°, 100%, 53%
CMYK
0, 0, 95, 0
Luminance
0.9217

Every format

HEX#fffe0d
RGBrgb(255, 254, 13)
HSLhsl(60, 100%, 53%)
CMYKcmyk(0%, 0%, 95%, 0%)
LABlab(96.9 -21.0 93.4)
LCHlch(96.9 95.7 102.7)
OKLCHoklch(0.966 0.209 109.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow94.9%
Key (black)0.0%

Color previews

#fffe0d text on a black background

contrast 19.43:1

Card sample

#fffe0d text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffe0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffe0d in the Color Lab