Skip to content

#faff5c

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

RGB
250, 255, 92
HSL
62°, 100%, 68%
CMYK
2, 0, 64, 0
Luminance
0.9262

Every format

HEX#faff5c
RGBrgb(250, 255, 92)
HSLhsl(62, 100%, 68%)
CMYKcmyk(2%, 0%, 64%, 0%)
LABlab(97.1 -21.0 74.2)
LCHlch(97.1 77.2 105.8)
OKLCHoklch(0.968 0.179 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue36.1%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow63.9%
Key (black)0.0%

Color previews

#faff5c text on a black background

contrast 19.52:1

Card sample

#faff5c text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff5c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff5c in the Color Lab