Skip to content

#fefdc0

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

RGB
254, 253, 192
HSL
59°, 97%, 88%
CMYK
0, 0, 24, 0
Luminance
0.9513

Every format

HEX#fefdc0
RGBrgb(254, 253, 192)
HSLhsl(59, 97%, 88%)
CMYKcmyk(0%, 0%, 24%, 0%)
LABlab(98.1 -9.1 29.4)
LCHlch(98.1 30.8 107.1)
OKLCHoklch(0.980 0.078 107.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green99.2%
Blue75.3%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow24.4%
Key (black)0.4%

Color previews

#fefdc0 text on a black background

contrast 20.03:1

Card sample

#fefdc0 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefdc0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefdc0 in the Color Lab