Skip to content

#fefdf2

a pale, electric yellow · cool · “ivory”

RGB
254, 253, 242
HSL
55°, 86%, 97%
CMYK
0, 0, 5, 0
Luminance
0.9773

Every format

HEX#fefdf2
RGBrgb(254, 253, 242)
HSLhsl(55, 86%, 97%)
CMYKcmyk(0%, 0%, 5%, 0%)
LABlab(99.1 -1.6 5.4)
LCHlch(99.1 5.6 106.1)
OKLCHoklch(0.992 0.015 102.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefdf2 on white: 1.02:1
AA ✗ fail · AA-large · AAA
Aa
#fefdf2 on black: 20.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green99.2%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow4.7%
Key (black)0.4%

Color previews

#fefdf2 text on a black background

contrast 20.55:1

Card sample

#fefdf2 text on a white background

contrast 1.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefdf2 in the Color Lab