Skip to content

#fee9b2

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

RGB
254, 233, 178
HSL
43°, 97%, 85%
CMYK
0, 8, 30, 0
Luminance
0.8256

Every format

HEX#fee9b2
RGBrgb(254, 233, 178)
HSLhsl(43, 97%, 85%)
CMYKcmyk(0%, 8%, 30%, 0%)
LABlab(92.8 -0.8 29.4)
LCHlch(92.8 29.4 91.7)
OKLCHoklch(0.938 0.074 89.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fee9b2 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#fee9b2 on black: 17.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green91.4%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta8.3%
Yellow29.9%
Key (black)0.4%

Color previews

#fee9b2 text on a black background

contrast 17.51:1

Card sample

#fee9b2 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fee9b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fee9b2 in the Color Lab