Skip to content

#fffefc

a pale, electric yellow · warm · “white”

RGB
255, 254, 252
HSL
40°, 100%, 99%
CMYK
0, 0, 1, 0
Luminance
0.9917

Every format

HEX#fffefc
RGBrgb(255, 254, 252)
HSLhsl(40, 100%, 99%)
CMYKcmyk(0%, 0%, 1%, 0%)
LABlab(99.7 -0.0 1.1)
LCHlch(99.7 1.1 91.1)
OKLCHoklch(0.997 0.003 84.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffefc on white: 1.01:1
AA ✗ fail · AA-large · AAA
Aa
#fffefc on black: 20.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green99.6%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow1.2%
Key (black)0.0%

Color previews

#fffefc text on a black background

contrast 20.83:1

Card sample

#fffefc text on a white background

contrast 1.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffefc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffefc in the Color Lab