Skip to content

#fffec4

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

RGB
255, 254, 196
HSL
59°, 100%, 88%
CMYK
0, 0, 23, 0
Luminance
0.9613

Every format

HEX#fffec4
RGBrgb(255, 254, 196)
HSLhsl(59, 100%, 88%)
CMYKcmyk(0%, 0%, 23%, 0%)
LABlab(98.5 -8.7 27.9)
LCHlch(98.5 29.3 107.2)
OKLCHoklch(0.984 0.074 106.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue76.9%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow23.1%
Key (black)0.0%

Color previews

#fffec4 text on a black background

contrast 20.23:1

Card sample

#fffec4 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffec4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffec4 in the Color Lab