Skip to content

#fefac6

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

RGB
254, 250, 198
HSL
56°, 97%, 89%
CMYK
0, 2, 22, 0
Luminance
0.9352

Every format

HEX#fefac6
RGBrgb(254, 250, 198)
HSLhsl(56, 97%, 89%)
CMYKcmyk(0%, 2%, 22%, 0%)
LABlab(97.4 -6.8 25.5)
LCHlch(97.4 26.4 104.9)
OKLCHoklch(0.976 0.067 103.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefac6 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fefac6 on black: 19.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green98.0%
Blue77.6%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow22.0%
Key (black)0.4%

Color previews

#fefac6 text on a black background

contrast 19.70:1

Card sample

#fefac6 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefac6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefac6 in the Color Lab