Skip to content

#fbf2cc

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

RGB
251, 242, 204
HSL
49°, 86%, 89%
CMYK
0, 4, 19, 2
Luminance
0.8837

Every format

HEX#fbf2cc
RGBrgb(251, 242, 204)
HSLhsl(49, 86%, 89%)
CMYKcmyk(0%, 4%, 19%, 2%)
LABlab(95.3 -3.0 19.4)
LCHlch(95.3 19.7 98.7)
OKLCHoklch(0.959 0.050 96.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbf2cc on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#fbf2cc on black: 18.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green94.9%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow18.7%
Key (black)1.6%

Color previews

#fbf2cc text on a black background

contrast 18.67:1

Card sample

#fbf2cc text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbf2cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbf2cc in the Color Lab