Skip to content

#faff9d

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

RGB
250, 255, 157
HSL
63°, 100%, 81%
CMYK
2, 0, 38, 0
Luminance
0.9428

Every format

HEX#faff9d
RGBrgb(250, 255, 157)
HSLhsl(63, 100%, 81%)
CMYKcmyk(2%, 0%, 38%, 0%)
LABlab(97.7 -15.7 46.3)
LCHlch(97.7 48.9 108.8)
OKLCHoklch(0.975 0.121 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faff9d on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#faff9d on black: 19.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green100.0%
Blue61.6%

CMYK percentages

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

Color previews

#faff9d text on a black background

contrast 19.86:1

Card sample

#faff9d text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff9d in the Color Lab