Skip to content

#fefce2

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

RGB
254, 252, 226
HSL
56°, 93%, 94%
CMYK
0, 1, 11, 0
Luminance
0.9618

Every format

HEX#fefce2
RGBrgb(254, 252, 226)
HSLhsl(56, 93%, 94%)
CMYKcmyk(0%, 1%, 11%, 0%)
LABlab(98.5 -3.6 12.7)
LCHlch(98.5 13.2 106.0)
OKLCHoklch(0.986 0.034 103.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green98.8%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow11.0%
Key (black)0.4%

Color previews

#fefce2 text on a black background

contrast 20.24:1

Card sample

#fefce2 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefce2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefce2 in the Color Lab