Skip to content

#fefac9

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

RGB
254, 250, 201
HSL
56°, 96%, 89%
CMYK
0, 2, 21, 0
Luminance
0.9366

Every format

HEX#fefac9
RGBrgb(254, 250, 201)
HSLhsl(56, 96%, 89%)
CMYKcmyk(0%, 2%, 21%, 0%)
LABlab(97.5 -6.3 24.1)
LCHlch(97.5 24.9 104.8)
OKLCHoklch(0.976 0.063 103.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefac9 on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fefac9 on black: 19.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green98.0%
Blue78.8%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow20.9%
Key (black)0.4%

Color previews

#fefac9 text on a black background

contrast 19.73:1

Card sample

#fefac9 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefac9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefac9 in the Color Lab