Skip to content

#fefef3

a pale, electric yellow · cool · “ivory”

RGB
254, 254, 243
HSL
60°, 85%, 98%
CMYK
0, 0, 4, 0
Luminance
0.9843

Every format

HEX#fefef3
RGBrgb(254, 254, 243)
HSLhsl(60, 85%, 98%)
CMYKcmyk(0%, 0%, 4%, 0%)
LABlab(99.4 -1.9 5.3)
LCHlch(99.4 5.6 109.8)
OKLCHoklch(0.994 0.014 106.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefef3 on white: 1.02:1
AA ✗ fail · AA-large · AAA
Aa
#fefef3 on black: 20.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green99.6%
Blue95.3%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow4.3%
Key (black)0.4%

Color previews

#fefef3 text on a black background

contrast 20.69:1

Card sample

#fefef3 text on a white background

contrast 1.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefef3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefef3 in the Color Lab