Skip to content

#fefef8

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

RGB
254, 254, 248
HSL
60°, 75%, 98%
CMYK
0, 0, 2, 0
Luminance
0.9873

Every format

HEX#fefef8
RGBrgb(254, 254, 248)
HSLhsl(60, 75%, 98%)
CMYKcmyk(0%, 0%, 2%, 0%)
LABlab(99.5 -1.0 2.9)
LCHlch(99.5 3.0 110.0)
OKLCHoklch(0.995 0.008 106.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green99.6%
Blue97.3%

CMYK percentages

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

Color previews

#fefef8 text on a black background

contrast 20.75:1

Card sample

#fefef8 text on a white background

contrast 1.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefef8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefef8 in the Color Lab