Skip to content

#fefff2

a pale, electric yellow · cool · “ivory”

RGB
254, 255, 242
HSL
65°, 100%, 98%
CMYK
0, 0, 5, 0
Luminance
0.9900

Every format

HEX#fefff2
RGBrgb(254, 255, 242)
HSLhsl(65, 100%, 98%)
CMYKcmyk(0%, 0%, 5%, 0%)
LABlab(99.6 -2.6 6.1)
LCHlch(99.6 6.6 112.8)
OKLCHoklch(0.996 0.017 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green100.0%
Blue94.9%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow5.1%
Key (black)0.0%

Color previews

#fefff2 text on a black background

contrast 20.80:1

Card sample

#fefff2 text on a white background

contrast 1.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefff2 in the Color Lab