Skip to content

#faff9e

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

RGB
250, 255, 158
HSL
63°, 100%, 81%
CMYK
2, 0, 38, 0
Luminance
0.9431

Every format

HEX#faff9e
RGBrgb(250, 255, 158)
HSLhsl(63, 100%, 81%)
CMYKcmyk(2%, 0%, 38%, 0%)
LABlab(97.8 -15.6 45.8)
LCHlch(97.8 48.4 108.8)
OKLCHoklch(0.975 0.120 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue62.0%

CMYK percentages

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

Color previews

#faff9e text on a black background

contrast 19.86:1

Card sample

#faff9e text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff9e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff9e in the Color Lab