Skip to content

#fefff5

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

RGB
254, 255, 245
HSL
66°, 100%, 98%
CMYK
0, 0, 4, 0
Luminance
0.9918

Every format

HEX#fefff5
RGBrgb(254, 255, 245)
HSLhsl(66, 100%, 98%)
CMYKcmyk(0%, 0%, 4%, 0%)
LABlab(99.7 -2.0 4.7)
LCHlch(99.7 5.1 113.7)
OKLCHoklch(0.997 0.013 111.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green100.0%
Blue96.1%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow3.9%
Key (black)0.0%

Color previews

#fefff5 text on a black background

contrast 20.84:1

Card sample

#fefff5 text on a white background

contrast 1.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefff5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefff5 in the Color Lab