Skip to content

#fefdc3

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

RGB
254, 253, 195
HSL
59°, 97%, 88%
CMYK
0, 0, 23, 0
Luminance
0.9526

Every format

HEX#fefdc3
RGBrgb(254, 253, 195)
HSLhsl(59, 97%, 88%)
CMYKcmyk(0%, 0%, 23%, 0%)
LABlab(98.1 -8.7 28.0)
LCHlch(98.1 29.3 107.2)
OKLCHoklch(0.981 0.074 106.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefdc3 on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#fefdc3 on black: 20.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green99.2%
Blue76.5%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow23.2%
Key (black)0.4%

Color previews

#fefdc3 text on a black background

contrast 20.05:1

Card sample

#fefdc3 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefdc3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefdc3 in the Color Lab