Skip to content

#fef0ce

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

RGB
254, 240, 206
HSL
43°, 96%, 90%
CMYK
0, 6, 19, 0
Luminance
0.8785

Every format

HEX#fef0ce
RGBrgb(254, 240, 206)
HSLhsl(43, 96%, 90%)
CMYKcmyk(0%, 6%, 19%, 0%)
LABlab(95.1 -0.6 18.1)
LCHlch(95.1 18.2 92.0)
OKLCHoklch(0.958 0.047 88.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fef0ce on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#fef0ce on black: 18.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green94.1%
Blue80.8%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow18.9%
Key (black)0.4%

Color previews

#fef0ce text on a black background

contrast 18.57:1

Card sample

#fef0ce text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef0ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef0ce in the Color Lab