Skip to content

#faff14

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

RGB
250, 255, 20
HSL
61°, 100%, 54%
CMYK
2, 0, 92, 0
Luminance
0.9189

Every format

HEX#faff14
RGBrgb(250, 255, 20)
HSLhsl(61, 100%, 54%)
CMYKcmyk(2%, 0%, 92%, 0%)
LABlab(96.8 -23.4 92.5)
LCHlch(96.8 95.4 104.2)
OKLCHoklch(0.964 0.210 111.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue7.8%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow92.2%
Key (black)0.0%

Color previews

#faff14 text on a black background

contrast 19.38:1

Card sample

#faff14 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff14

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff14 in the Color Lab