Skip to content

#fffec8

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

RGB
255, 254, 200
HSL
59°, 100%, 89%
CMYK
0, 0, 22, 0
Luminance
0.9631

Every format

HEX#fffec8
RGBrgb(255, 254, 200)
HSLhsl(59, 100%, 89%)
CMYKcmyk(0%, 0%, 22%, 0%)
LABlab(98.6 -8.1 26.0)
LCHlch(98.6 27.3 107.3)
OKLCHoklch(0.985 0.069 106.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue78.4%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow21.6%
Key (black)0.0%

Color previews

#fffec8 text on a black background

contrast 20.26:1

Card sample

#fffec8 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffec8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffec8 in the Color Lab