Skip to content

#fffcab

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

RGB
255, 252, 171
HSL
58°, 100%, 84%
CMYK
0, 1, 33, 0
Luminance
0.9382

Every format

HEX#fffcab
RGBrgb(255, 252, 171)
HSLhsl(58, 100%, 84%)
CMYKcmyk(0%, 1%, 33%, 0%)
LABlab(97.6 -10.8 39.2)
LCHlch(97.6 40.7 105.4)
OKLCHoklch(0.975 0.101 106.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow32.9%
Key (black)0.0%

Color previews

#fffcab text on a black background

contrast 19.76:1

Card sample

#fffcab text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffcab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffcab in the Color Lab