Skip to content

#fcffab

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

RGB
252, 255, 171
HSL
62°, 100%, 84%
CMYK
1, 0, 33, 0
Luminance
0.9516

Every format

HEX#fcffab
RGBrgb(252, 255, 171)
HSLhsl(62, 100%, 84%)
CMYKcmyk(1%, 0%, 33%, 0%)
LABlab(98.1 -13.4 39.9)
LCHlch(98.1 42.1 108.6)
OKLCHoklch(0.979 0.105 109.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcffab on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#fcffab on black: 20.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green100.0%
Blue67.1%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow32.9%
Key (black)0.0%

Color previews

#fcffab text on a black background

contrast 20.03:1

Card sample

#fcffab text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcffab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcffab in the Color Lab