Skip to content

#fffff5

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

RGB
255, 255, 245
HSL
60°, 100%, 98%
CMYK
0, 0, 4, 0
Luminance
0.9937

Every format

HEX#fffff5
RGBrgb(255, 255, 245)
HSLhsl(60, 100%, 98%)
CMYKcmyk(0%, 0%, 4%, 0%)
LABlab(99.8 -1.7 4.8)
LCHlch(99.8 5.1 109.8)
OKLCHoklch(0.997 0.013 106.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green100.0%
Blue96.1%

CMYK percentages

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

Color previews

#fffff5 text on a black background

contrast 20.87:1

Card sample

#fffff5 text on a white background

contrast 1.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffff5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffff5 in the Color Lab