Skip to content

#fffec2

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

RGB
255, 254, 194
HSL
59°, 100%, 88%
CMYK
0, 0, 24, 0
Luminance
0.9604

Every format

HEX#fffec2
RGBrgb(255, 254, 194)
HSLhsl(59, 100%, 88%)
CMYKcmyk(0%, 0%, 24%, 0%)
LABlab(98.5 -8.9 28.9)
LCHlch(98.5 30.3 107.1)
OKLCHoklch(0.984 0.076 106.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue76.1%

CMYK percentages

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

Color previews

#fffec2 text on a black background

contrast 20.21:1

Card sample

#fffec2 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffec2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffec2 in the Color Lab