Skip to content

#faff59

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

RGB
250, 255, 89
HSL
62°, 100%, 68%
CMYK
2, 0, 65, 0
Luminance
0.9257

Every format

HEX#faff59
RGBrgb(250, 255, 89)
HSLhsl(62, 100%, 68%)
CMYKcmyk(2%, 0%, 65%, 0%)
LABlab(97.0 -21.2 75.4)
LCHlch(97.0 78.3 105.7)
OKLCHoklch(0.967 0.182 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue34.9%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow65.1%
Key (black)0.0%

Color previews

#faff59 text on a black background

contrast 19.51:1

Card sample

#faff59 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff59

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff59 in the Color Lab