Skip to content

#fefac7

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

RGB
254, 250, 199
HSL
56°, 97%, 89%
CMYK
0, 2, 22, 0
Luminance
0.9357

Every format

HEX#fefac7
RGBrgb(254, 250, 199)
HSLhsl(56, 97%, 89%)
CMYKcmyk(0%, 2%, 22%, 0%)
LABlab(97.5 -6.6 25.0)
LCHlch(97.5 25.9 104.8)
OKLCHoklch(0.976 0.066 103.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow21.7%
Key (black)0.4%

Color previews

#fefac7 text on a black background

contrast 19.71:1

Card sample

#fefac7 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefac7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefac7 in the Color Lab