Skip to content

#fffea1

a light, electric yellow · cool · closest name: khaki

RGB
255, 254, 161
HSL
59°, 100%, 82%
CMYK
0, 0, 37, 0
Luminance
0.9472

Every format

HEX#fffea1
RGBrgb(255, 254, 161)
HSLhsl(59, 100%, 82%)
CMYKcmyk(0%, 0%, 37%, 0%)
LABlab(97.9 -12.9 44.6)
LCHlch(97.9 46.4 106.1)
OKLCHoklch(0.978 0.115 107.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffea1 on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#fffea1 on black: 19.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green99.6%
Blue63.1%

CMYK percentages

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

Color previews

#fffea1 text on a black background

contrast 19.94:1

Card sample

#fffea1 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffea1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffea1 in the Color Lab