Skip to content

#fefac0

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

RGB
254, 250, 192
HSL
56°, 97%, 88%
CMYK
0, 2, 24, 0
Luminance
0.9325

Every format

HEX#fefac0
RGBrgb(254, 250, 192)
HSLhsl(56, 97%, 88%)
CMYKcmyk(0%, 2%, 24%, 0%)
LABlab(97.3 -7.6 28.4)
LCHlch(97.3 29.4 104.9)
OKLCHoklch(0.974 0.074 104.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green98.0%
Blue75.3%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow24.4%
Key (black)0.4%

Color previews

#fefac0 text on a black background

contrast 19.65:1

Card sample

#fefac0 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefac0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefac0 in the Color Lab