Skip to content

#fffea5

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

RGB
255, 254, 165
HSL
59°, 100%, 82%
CMYK
0, 0, 35, 0
Luminance
0.9486

Every format

HEX#fffea5
RGBrgb(255, 254, 165)
HSLhsl(59, 100%, 82%)
CMYKcmyk(0%, 0%, 35%, 0%)
LABlab(98.0 -12.5 42.7)
LCHlch(98.0 44.5 106.3)
OKLCHoklch(0.978 0.110 107.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue64.7%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow35.3%
Key (black)0.0%

Color previews

#fffea5 text on a black background

contrast 19.97:1

Card sample

#fffea5 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffea5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffea5 in the Color Lab