Skip to content

#fffe2d

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

RGB
255, 254, 45
HSL
60°, 100%, 59%
CMYK
0, 0, 82, 0
Luminance
0.9233

Every format

HEX#fffe2d
RGBrgb(255, 254, 45)
HSLhsl(60, 100%, 59%)
CMYKcmyk(0%, 0%, 82%, 0%)
LABlab(97.0 -20.5 88.7)
LCHlch(97.0 91.0 103.0)
OKLCHoklch(0.967 0.202 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue17.6%

CMYK percentages

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

Color previews

#fffe2d text on a black background

contrast 19.47:1

Card sample

#fffe2d text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffe2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffe2d in the Color Lab