Skip to content

#ffef49

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

RGB
255, 239, 73
HSL
55°, 100%, 64%
CMYK
0, 6, 71, 0
Luminance
0.8347

Every format

HEX#ffef49
RGBrgb(255, 239, 73)
HSLhsl(55, 100%, 64%)
CMYKcmyk(0%, 6%, 71%, 0%)
LABlab(93.2 -12.2 77.4)
LCHlch(93.2 78.4 99.0)
OKLCHoklch(0.937 0.176 103.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffef49 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#ffef49 on black: 17.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green93.7%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta6.3%
Yellow71.4%
Key (black)0.0%

Color previews

#ffef49 text on a black background

contrast 17.69:1

Card sample

#ffef49 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffef49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffef49 in the Color Lab