Skip to content

#fff3cc

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

RGB
255, 243, 204
HSL
46°, 100%, 90%
CMYK
0, 5, 20, 0
Luminance
0.8972

Every format

HEX#fff3cc
RGBrgb(255, 243, 204)
HSLhsl(46, 100%, 90%)
CMYKcmyk(0%, 5%, 20%, 0%)
LABlab(95.9 -2.1 20.3)
LCHlch(95.9 20.4 95.8)
OKLCHoklch(0.964 0.052 92.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green95.3%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow20.0%
Key (black)0.0%

Color previews

#fff3cc text on a black background

contrast 18.94:1

Card sample

#fff3cc text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff3cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff3cc in the Color Lab