Skip to content

#fefad2

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

RGB
254, 250, 210
HSL
55°, 96%, 91%
CMYK
0, 2, 17, 0
Luminance
0.9410

Every format

HEX#fefad2
RGBrgb(254, 250, 210)
HSLhsl(55, 96%, 91%)
CMYKcmyk(0%, 2%, 17%, 0%)
LABlab(97.7 -5.1 19.7)
LCHlch(97.7 20.3 104.4)
OKLCHoklch(0.978 0.052 102.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefad2 on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fefad2 on black: 19.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green98.0%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow17.3%
Key (black)0.4%

Color previews

#fefad2 text on a black background

contrast 19.82:1

Card sample

#fefad2 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefad2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefad2 in the Color Lab