Skip to content

#faff5e

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

RGB
250, 255, 94
HSL
62°, 100%, 68%
CMYK
2, 0, 63, 0
Luminance
0.9265

Every format

HEX#faff5e
RGBrgb(250, 255, 94)
HSLhsl(62, 100%, 68%)
CMYKcmyk(2%, 0%, 63%, 0%)
LABlab(97.1 -20.9 73.5)
LCHlch(97.1 76.4 105.9)
OKLCHoklch(0.968 0.178 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue36.9%

CMYK percentages

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

Color previews

#faff5e text on a black background

contrast 19.53:1

Card sample

#faff5e text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff5e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff5e in the Color Lab