Skip to content

#fefcec

a pale, electric yellow · cool · “ivory”

RGB
254, 252, 236
HSL
53°, 90%, 96%
CMYK
0, 1, 7, 0
Luminance
0.9675

Every format

HEX#fefcec
RGBrgb(254, 252, 236)
HSLhsl(53, 90%, 96%)
CMYKcmyk(0%, 1%, 7%, 0%)
LABlab(98.7 -2.0 7.9)
LCHlch(98.7 8.2 104.5)
OKLCHoklch(0.988 0.021 101.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefcec on white: 1.03:1
AA ✗ fail · AA-large · AAA
Aa
#fefcec on black: 20.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green98.8%
Blue92.5%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow7.1%
Key (black)0.4%

Color previews

#fefcec text on a black background

contrast 20.35:1

Card sample

#fefcec text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefcec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefcec in the Color Lab