Skip to content

#faff9b

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

RGB
250, 255, 155
HSL
63°, 100%, 80%
CMYK
2, 0, 39, 0
Luminance
0.9421

Every format

HEX#faff9b
RGBrgb(250, 255, 155)
HSLhsl(63, 100%, 80%)
CMYKcmyk(2%, 0%, 39%, 0%)
LABlab(97.7 -15.9 47.2)
LCHlch(97.7 49.8 108.6)
OKLCHoklch(0.975 0.123 110.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue60.8%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow39.2%
Key (black)0.0%

Color previews

#faff9b text on a black background

contrast 19.84:1

Card sample

#faff9b text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff9b in the Color Lab