Skip to content

#faff78

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

RGB
250, 255, 120
HSL
62°, 100%, 74%
CMYK
2, 0, 53, 0
Luminance
0.9320

Every format

HEX#faff78
RGBrgb(250, 255, 120)
HSLhsl(62, 100%, 74%)
CMYKcmyk(2%, 0%, 53%, 0%)
LABlab(97.3 -19.1 62.9)
LCHlch(97.3 65.8 106.9)
OKLCHoklch(0.970 0.157 110.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faff78 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#faff78 on black: 19.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green100.0%
Blue47.1%

CMYK percentages

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

Color previews

#faff78 text on a black background

contrast 19.64:1

Card sample

#faff78 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff78

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff78 in the Color Lab