Skip to content

#fefdc8

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

RGB
254, 253, 200
HSL
59°, 96%, 89%
CMYK
0, 0, 21, 0
Luminance
0.9549

Every format

HEX#fefdc8
RGBrgb(254, 253, 200)
HSLhsl(59, 96%, 89%)
CMYKcmyk(0%, 0%, 21%, 0%)
LABlab(98.2 -8.0 25.6)
LCHlch(98.2 26.8 107.3)
OKLCHoklch(0.982 0.068 106.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefdc8 on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#fefdc8 on black: 20.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green99.2%
Blue78.4%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow21.3%
Key (black)0.4%

Color previews

#fefdc8 text on a black background

contrast 20.10:1

Card sample

#fefdc8 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefdc8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefdc8 in the Color Lab