Skip to content

#fcebac

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

RGB
252, 235, 172
HSL
47°, 93%, 83%
CMYK
0, 7, 32, 1
Luminance
0.8309

Every format

HEX#fcebac
RGBrgb(252, 235, 172)
HSLhsl(47, 93%, 83%)
CMYKcmyk(0%, 7%, 32%, 1%)
LABlab(93.1 -3.4 32.7)
LCHlch(93.1 32.9 95.8)
OKLCHoklch(0.939 0.082 94.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcebac on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#fcebac on black: 17.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green92.2%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow31.7%
Key (black)1.2%

Color previews

#fcebac text on a black background

contrast 17.62:1

Card sample

#fcebac text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcebac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcebac in the Color Lab