Skip to content

#fff049

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

RGB
255, 240, 73
HSL
55°, 100%, 64%
CMYK
0, 6, 71, 0
Luminance
0.8406

Every format

HEX#fff049
RGBrgb(255, 240, 73)
HSLhsl(55, 100%, 64%)
CMYKcmyk(0%, 6%, 71%, 0%)
LABlab(93.5 -12.7 77.7)
LCHlch(93.5 78.7 99.3)
OKLCHoklch(0.939 0.177 104.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff049 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#fff049 on black: 17.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green94.1%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow71.4%
Key (black)0.0%

Color previews

#fff049 text on a black background

contrast 17.81:1

Card sample

#fff049 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 240, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 240, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fff049;
background: linear-gradient(135deg, #fff049, #94FF49);

Monochromatic scale

Palettes built from #fff049

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff049 in the Color Lab