Skip to content

#fcecad

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

RGB
252, 236, 173
HSL
48°, 93%, 83%
CMYK
0, 6, 31, 1
Luminance
0.8370

Every format

HEX#fcecad
RGBrgb(252, 236, 173)
HSLhsl(48, 93%, 83%)
CMYKcmyk(0%, 6%, 31%, 1%)
LABlab(93.3 -3.7 32.6)
LCHlch(93.3 32.8 96.5)
OKLCHoklch(0.941 0.082 95.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#fcecad text on a black background

contrast 17.74:1

Card sample

#fcecad text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcecad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcecad in the Color Lab