Skip to content

#faff8e

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

RGB
250, 255, 142
HSL
63°, 100%, 78%
CMYK
2, 0, 44, 0
Luminance
0.9380

Every format

HEX#faff8e
RGBrgb(250, 255, 142)
HSLhsl(63, 100%, 78%)
CMYKcmyk(2%, 0%, 44%, 0%)
LABlab(97.5 -17.2 53.2)
LCHlch(97.5 55.9 107.9)
OKLCHoklch(0.973 0.137 110.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue55.7%

CMYK percentages

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

Color previews

#faff8e text on a black background

contrast 19.76:1

Card sample

#faff8e text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff8e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff8e in the Color Lab