Skip to content

#fefecc

a pale, electric yellow · cool · closest name: beige

RGB
254, 254, 204
HSL
60°, 96%, 90%
CMYK
0, 0, 20, 0
Luminance
0.9631

Every format

HEX#fefecc
RGBrgb(254, 254, 204)
HSLhsl(60, 96%, 90%)
CMYKcmyk(0%, 0%, 20%, 0%)
LABlab(98.6 -7.9 24.0)
LCHlch(98.6 25.3 108.2)
OKLCHoklch(0.985 0.064 107.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefecc on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#fefecc on black: 20.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green99.6%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow19.7%
Key (black)0.4%

Color previews

#fefecc text on a black background

contrast 20.26:1

Card sample

#fefecc text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefecc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefecc in the Color Lab