Skip to content

#feefac

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

RGB
254, 239, 172
HSL
49°, 98%, 84%
CMYK
0, 6, 32, 0
Luminance
0.8578

Every format

HEX#feefac
RGBrgb(254, 239, 172)
HSLhsl(49, 98%, 84%)
CMYKcmyk(0%, 6%, 32%, 0%)
LABlab(94.2 -4.6 34.3)
LCHlch(94.2 34.6 97.7)
OKLCHoklch(0.949 0.086 97.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#feefac on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#feefac on black: 18.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green93.7%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow32.3%
Key (black)0.4%

Color previews

#feefac text on a black background

contrast 18.16:1

Card sample

#feefac text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feefac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feefac in the Color Lab