Skip to content

#fff2ce

a pale, electric yellow · warm · closest name: beige

RGB
255, 242, 206
HSL
44°, 100%, 90%
CMYK
0, 5, 19, 0
Luminance
0.8922

Every format

HEX#fff2ce
RGBrgb(255, 242, 206)
HSLhsl(44, 100%, 90%)
CMYKcmyk(0%, 5%, 19%, 0%)
LABlab(95.7 -1.3 19.0)
LCHlch(95.7 19.0 93.8)
OKLCHoklch(0.962 0.049 90.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff2ce on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fff2ce on black: 18.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green94.9%
Blue80.8%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow19.2%
Key (black)0.0%

Color previews

#fff2ce text on a black background

contrast 18.84:1

Card sample

#fff2ce text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff2ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff2ce in the Color Lab