Skip to content

#fff2d3

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

RGB
255, 242, 211
HSL
42°, 100%, 91%
CMYK
0, 5, 17, 0
Luminance
0.8947

Every format

HEX#fff2d3
RGBrgb(255, 242, 211)
HSLhsl(42, 100%, 91%)
CMYKcmyk(0%, 5%, 17%, 0%)
LABlab(95.8 -0.5 16.5)
LCHlch(95.8 16.6 91.9)
OKLCHoklch(0.963 0.043 88.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green94.9%
Blue82.7%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow17.3%
Key (black)0.0%

Color previews

#fff2d3 text on a black background

contrast 18.89:1

Card sample

#fff2d3 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff2d3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff2d3 in the Color Lab