Skip to content

#fffef3

a pale, electric yellow · cool · “ivory”

RGB
255, 254, 243
HSL
55°, 100%, 98%
CMYK
0, 0, 5, 0
Luminance
0.9861

Every format

HEX#fffef3
RGBrgb(255, 254, 243)
HSLhsl(55, 100%, 98%)
CMYKcmyk(0%, 0%, 5%, 0%)
LABlab(99.5 -1.6 5.4)
LCHlch(99.5 5.6 106.1)
OKLCHoklch(0.995 0.015 102.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue95.3%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow4.7%
Key (black)0.0%

Color previews

#fffef3 text on a black background

contrast 20.72:1

Card sample

#fffef3 text on a white background

contrast 1.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffef3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffef3 in the Color Lab