Skip to content

#fef3d3

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

RGB
254, 243, 211
HSL
45°, 96%, 91%
CMYK
0, 4, 17, 0
Luminance
0.8988

Every format

HEX#fef3d3
RGBrgb(254, 243, 211)
HSLhsl(45, 96%, 91%)
CMYKcmyk(0%, 4%, 17%, 0%)
LABlab(96.0 -1.4 16.8)
LCHlch(96.0 16.8 94.8)
OKLCHoklch(0.965 0.043 91.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fef3d3 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fef3d3 on black: 18.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green95.3%
Blue82.7%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow16.9%
Key (black)0.4%

Color previews

#fef3d3 text on a black background

contrast 18.98:1

Card sample

#fef3d3 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef3d3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef3d3 in the Color Lab