Skip to content

#fcecab

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

RGB
252, 236, 171
HSL
48°, 93%, 83%
CMYK
0, 6, 32, 1
Luminance
0.8363

Every format

HEX#fcecab
RGBrgb(252, 236, 171)
HSLhsl(48, 93%, 83%)
CMYKcmyk(0%, 6%, 32%, 1%)
LABlab(93.3 -4.0 33.5)
LCHlch(93.3 33.8 96.8)
OKLCHoklch(0.941 0.084 96.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcecab on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#fcecab on black: 17.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green92.5%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta6.3%
Yellow32.1%
Key (black)1.2%

Color previews

#fcecab text on a black background

contrast 17.73:1

Card sample

#fcecab text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcecab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcecab in the Color Lab