Skip to content

#fefef9

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

RGB
254, 254, 249
HSL
60°, 71%, 99%
CMYK
0, 0, 2, 0
Luminance
0.9879

Every format

HEX#fefef9
RGBrgb(254, 254, 249)
HSLhsl(60, 71%, 99%)
CMYKcmyk(0%, 0%, 2%, 0%)
LABlab(99.5 -0.9 2.4)
LCHlch(99.5 2.5 110.1)
OKLCHoklch(0.996 0.007 106.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#fefef9 text on a black background

contrast 20.76:1

Card sample

#fefef9 text on a white background

contrast 1.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefef9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefef9 in the Color Lab