Skip to content

#faff8d

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

RGB
250, 255, 141
HSL
63°, 100%, 78%
CMYK
2, 0, 45, 0
Luminance
0.9377

Every format

HEX#faff8d
RGBrgb(250, 255, 141)
HSLhsl(63, 100%, 78%)
CMYKcmyk(2%, 0%, 45%, 0%)
LABlab(97.5 -17.3 53.6)
LCHlch(97.5 56.4 107.9)
OKLCHoklch(0.973 0.138 110.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue55.3%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow44.7%
Key (black)0.0%

Color previews

#faff8d text on a black background

contrast 19.75:1

Card sample

#faff8d text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff8d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff8d in the Color Lab