Skip to content

#fffeb0

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

RGB
255, 254, 176
HSL
59°, 100%, 85%
CMYK
0, 0, 31, 0
Luminance
0.9528

Every format

HEX#fffeb0
RGBrgb(255, 254, 176)
HSLhsl(59, 100%, 85%)
CMYKcmyk(0%, 0%, 31%, 0%)
LABlab(98.2 -11.2 37.5)
LCHlch(98.2 39.1 106.6)
OKLCHoklch(0.980 0.098 107.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue69.0%

CMYK percentages

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

Color previews

#fffeb0 text on a black background

contrast 20.06:1

Card sample

#fffeb0 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffeb0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffeb0 in the Color Lab