Skip to content

#fffeb5

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

RGB
255, 254, 181
HSL
59°, 100%, 86%
CMYK
0, 0, 29, 0
Luminance
0.9548

Every format

HEX#fffeb5
RGBrgb(255, 254, 181)
HSLhsl(59, 100%, 86%)
CMYKcmyk(0%, 0%, 29%, 0%)
LABlab(98.2 -10.6 35.1)
LCHlch(98.2 36.7 106.8)
OKLCHoklch(0.981 0.092 107.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue71.0%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow29.0%
Key (black)0.0%

Color previews

#fffeb5 text on a black background

contrast 20.10:1

Card sample

#fffeb5 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffeb5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffeb5 in the Color Lab