Skip to content

#faff1d

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

RGB
250, 255, 29
HSL
61°, 100%, 56%
CMYK
2, 0, 89, 0
Luminance
0.9193

Every format

HEX#faff1d
RGBrgb(250, 255, 29)
HSLhsl(61, 100%, 56%)
CMYKcmyk(2%, 0%, 89%, 0%)
LABlab(96.8 -23.3 91.3)
LCHlch(96.8 94.3 104.3)
OKLCHoklch(0.964 0.208 111.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue11.4%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow88.6%
Key (black)0.0%

Color previews

#faff1d text on a black background

contrast 19.39:1

Card sample

#faff1d text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff1d in the Color Lab