Skip to content

#fffeb8

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

RGB
255, 254, 184
HSL
59°, 100%, 86%
CMYK
0, 0, 28, 0
Luminance
0.9560

Every format

HEX#fffeb8
RGBrgb(255, 254, 184)
HSLhsl(59, 100%, 86%)
CMYKcmyk(0%, 0%, 28%, 0%)
LABlab(98.3 -10.2 33.7)
LCHlch(98.3 35.2 106.9)
OKLCHoklch(0.982 0.088 107.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue72.2%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow27.8%
Key (black)0.0%

Color previews

#fffeb8 text on a black background

contrast 20.12:1

Card sample

#fffeb8 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffeb8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffeb8 in the Color Lab