Skip to content

#fefbef

a pale, electric yellow · cool · “ivory”

RGB
254, 251, 239
HSL
48°, 88%, 97%
CMYK
0, 1, 6, 0
Luminance
0.9630

Every format

HEX#fefbef
RGBrgb(254, 251, 239)
HSLhsl(48, 88%, 97%)
CMYKcmyk(0%, 1%, 6%, 0%)
LABlab(98.5 -1.0 6.1)
LCHlch(98.5 6.2 99.7)
OKLCHoklch(0.987 0.016 95.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green98.4%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow5.9%
Key (black)0.4%

Color previews

#fefbef text on a black background

contrast 20.26:1

Card sample

#fefbef text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefbef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefbef in the Color Lab