Skip to content

#faff49

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

RGB
250, 255, 73
HSL
62°, 100%, 64%
CMYK
2, 0, 71, 0
Luminance
0.9233

Every format

HEX#faff49
RGBrgb(250, 255, 73)
HSLhsl(62, 100%, 64%)
CMYKcmyk(2%, 0%, 71%, 0%)
LABlab(97.0 -22.0 80.9)
LCHlch(97.0 83.8 105.2)
OKLCHoklch(0.966 0.191 111.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue28.6%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow71.4%
Key (black)0.0%

Color previews

#faff49 text on a black background

contrast 19.47:1

Card sample

#faff49 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff49 in the Color Lab