Skip to content

#fffaab

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

RGB
255, 250, 171
HSL
56°, 100%, 84%
CMYK
0, 2, 33, 0
Luminance
0.9257

Every format

HEX#fffaab
RGBrgb(255, 250, 171)
HSLhsl(56, 100%, 84%)
CMYKcmyk(0%, 2%, 33%, 0%)
LABlab(97.0 -9.8 38.6)
LCHlch(97.0 39.8 104.3)
OKLCHoklch(0.971 0.099 105.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffaab on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fffaab on black: 19.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.0%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow32.9%
Key (black)0.0%

Color previews

#fffaab text on a black background

contrast 19.51:1

Card sample

#fffaab text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffaab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffaab in the Color Lab