Skip to content

#feecab

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

RGB
254, 236, 171
HSL
47°, 98%, 83%
CMYK
0, 7, 33, 0
Luminance
0.8400

Every format

HEX#feecab
RGBrgb(254, 236, 171)
HSLhsl(47, 98%, 83%)
CMYKcmyk(0%, 7%, 33%, 0%)
LABlab(93.5 -3.2 33.8)
LCHlch(93.5 33.9 95.4)
OKLCHoklch(0.943 0.085 94.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#feecab on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#feecab on black: 17.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green92.5%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta7.1%
Yellow32.7%
Key (black)0.4%

Color previews

#feecab text on a black background

contrast 17.80:1

Card sample

#feecab text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feecab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feecab in the Color Lab