Skip to content

#fef3dc

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

RGB
254, 243, 220
HSL
41°, 94%, 93%
CMYK
0, 4, 13, 0
Luminance
0.9034

Every format

HEX#fef3dc
RGBrgb(254, 243, 220)
HSLhsl(41, 94%, 93%)
CMYKcmyk(0%, 4%, 13%, 0%)
LABlab(96.1 -0.1 12.4)
LCHlch(96.1 12.4 90.2)
OKLCHoklch(0.967 0.032 85.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fef3dc on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fef3dc on black: 19.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green95.3%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow13.4%
Key (black)0.4%

Color previews

#fef3dc text on a black background

contrast 19.07:1

Card sample

#fef3dc text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef3dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef3dc in the Color Lab