Skip to content

#fffec5

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

RGB
255, 254, 197
HSL
59°, 100%, 89%
CMYK
0, 0, 23, 0
Luminance
0.9617

Every format

HEX#fffec5
RGBrgb(255, 254, 197)
HSLhsl(59, 100%, 89%)
CMYKcmyk(0%, 0%, 23%, 0%)
LABlab(98.5 -8.5 27.5)
LCHlch(98.5 28.8 107.2)
OKLCHoklch(0.984 0.073 106.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue77.3%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow22.7%
Key (black)0.0%

Color previews

#fffec5 text on a black background

contrast 20.23:1

Card sample

#fffec5 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffec5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffec5 in the Color Lab