Skip to content

#fffff2

a pale, electric yellow · cool · “ivory”

RGB
255, 255, 242
HSL
60°, 100%, 98%
CMYK
0, 0, 5, 0
Luminance
0.9919

Every format

HEX#fffff2
RGBrgb(255, 255, 242)
HSLhsl(60, 100%, 98%)
CMYKcmyk(0%, 0%, 5%, 0%)
LABlab(99.7 -2.2 6.2)
LCHlch(99.7 6.6 109.7)
OKLCHoklch(0.997 0.017 106.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green100.0%
Blue94.9%

CMYK percentages

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

Color previews

#fffff2 text on a black background

contrast 20.84:1

Card sample

#fffff2 text on a white background

contrast 1.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffff2 in the Color Lab