Skip to content

#faff86

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

RGB
250, 255, 134
HSL
63°, 100%, 76%
CMYK
2, 0, 48, 0
Luminance
0.9357

Every format

HEX#faff86
RGBrgb(250, 255, 134)
HSLhsl(63, 100%, 76%)
CMYKcmyk(2%, 0%, 48%, 0%)
LABlab(97.5 -18.0 56.8)
LCHlch(97.5 59.5 107.6)
OKLCHoklch(0.972 0.144 110.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faff86 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#faff86 on black: 19.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green100.0%
Blue52.5%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow47.5%
Key (black)0.0%

Color previews

#faff86 text on a black background

contrast 19.71:1

Card sample

#faff86 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff86

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff86 in the Color Lab