Skip to content

#fefed2

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

RGB
254, 254, 210
HSL
60°, 96%, 91%
CMYK
0, 0, 17, 0
Luminance
0.9661

Every format

HEX#fefed2
RGBrgb(254, 254, 210)
HSLhsl(60, 96%, 91%)
CMYKcmyk(0%, 0%, 17%, 0%)
LABlab(98.7 -7.1 21.1)
LCHlch(98.7 22.3 108.5)
OKLCHoklch(0.986 0.057 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefed2 on white: 1.03:1
AA ✗ fail · AA-large · AAA
Aa
#fefed2 on black: 20.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green99.6%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow17.3%
Key (black)0.4%

Color previews

#fefed2 text on a black background

contrast 20.32:1

Card sample

#fefed2 text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefed2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefed2 in the Color Lab