Skip to content

#fffec3

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

RGB
255, 254, 195
HSL
59°, 100%, 88%
CMYK
0, 0, 24, 0
Luminance
0.9608

Every format

HEX#fffec3
RGBrgb(255, 254, 195)
HSLhsl(59, 100%, 88%)
CMYKcmyk(0%, 0%, 24%, 0%)
LABlab(98.5 -8.8 28.4)
LCHlch(98.5 29.8 107.2)
OKLCHoklch(0.984 0.075 106.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue76.5%

CMYK percentages

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

Color previews

#fffec3 text on a black background

contrast 20.22:1

Card sample

#fffec3 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffec3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffec3 in the Color Lab