Skip to content

#fffeb4

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

RGB
255, 254, 180
HSL
59°, 100%, 85%
CMYK
0, 0, 29, 0
Luminance
0.9544

Every format

HEX#fffeb4
RGBrgb(255, 254, 180)
HSLhsl(59, 100%, 85%)
CMYKcmyk(0%, 0%, 29%, 0%)
LABlab(98.2 -10.7 35.6)
LCHlch(98.2 37.2 106.7)
OKLCHoklch(0.981 0.093 107.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue70.6%

CMYK percentages

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

Color previews

#fffeb4 text on a black background

contrast 20.09:1

Card sample

#fffeb4 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffeb4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffeb4 in the Color Lab