Skip to content

#fefdcc

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

RGB
254, 253, 204
HSL
59°, 96%, 90%
CMYK
0, 0, 20, 0
Luminance
0.9568

Every format

HEX#fefdcc
RGBrgb(254, 253, 204)
HSLhsl(59, 96%, 90%)
CMYKcmyk(0%, 0%, 20%, 0%)
LABlab(98.3 -7.4 23.6)
LCHlch(98.3 24.8 107.4)
OKLCHoklch(0.983 0.063 106.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefdcc on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#fefdcc on black: 20.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green99.2%
Blue80.0%

CMYK percentages

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

Color previews

#fefdcc text on a black background

contrast 20.14:1

Card sample

#fefdcc text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefdcc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefdcc in the Color Lab