Skip to content

#faff3c

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

RGB
250, 255, 60
HSL
62°, 100%, 62%
CMYK
2, 0, 77, 0
Luminance
0.9217

Every format

HEX#faff3c
RGBrgb(250, 255, 60)
HSLhsl(62, 100%, 62%)
CMYKcmyk(2%, 0%, 77%, 0%)
LABlab(96.9 -22.5 84.8)
LCHlch(96.9 87.7 104.9)
OKLCHoklch(0.966 0.198 111.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue23.5%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow76.5%
Key (black)0.0%

Color previews

#faff3c text on a black background

contrast 19.43:1

Card sample

#faff3c text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff3c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff3c in the Color Lab