Skip to content

#faff4e

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

RGB
250, 255, 78
HSL
62°, 100%, 65%
CMYK
2, 0, 69, 0
Luminance
0.9239

Every format

HEX#faff4e
RGBrgb(250, 255, 78)
HSLhsl(62, 100%, 65%)
CMYKcmyk(2%, 0%, 69%, 0%)
LABlab(97.0 -21.8 79.2)
LCHlch(97.0 82.2 105.4)
OKLCHoklch(0.967 0.189 111.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue30.6%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow69.4%
Key (black)0.0%

Color previews

#faff4e text on a black background

contrast 19.48:1

Card sample

#faff4e text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff4e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff4e in the Color Lab