Skip to content

#fffa54

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

RGB
255, 250, 84
HSL
58°, 100%, 67%
CMYK
0, 2, 67, 0
Luminance
0.9027

Every format

HEX#fffa54
RGBrgb(255, 250, 84)
HSLhsl(58, 100%, 67%)
CMYKcmyk(0%, 2%, 67%, 0%)
LABlab(96.1 -17.1 76.4)
LCHlch(96.1 78.3 102.6)
OKLCHoklch(0.961 0.179 107.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffa54 on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fffa54 on black: 19.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.0%
Blue32.9%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow67.1%
Key (black)0.0%

Color previews

#fffa54 text on a black background

contrast 19.05:1

Card sample

#fffa54 text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 250, 84, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 250, 84, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fffa54;
background: linear-gradient(135deg, #fffa54, #92FF54);

Monochromatic scale

Palettes built from #fffa54

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffa54 in the Color Lab