Skip to content

#fff2bb

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

RGB
255, 242, 187
HSL
49°, 100%, 87%
CMYK
0, 5, 27, 0
Luminance
0.8835

Every format

HEX#fff2bb
RGBrgb(255, 242, 187)
HSLhsl(49, 100%, 87%)
CMYKcmyk(0%, 5%, 27%, 0%)
LABlab(95.3 -3.9 28.2)
LCHlch(95.3 28.4 97.8)
OKLCHoklch(0.958 0.072 96.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green94.9%
Blue73.3%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow26.7%
Key (black)0.0%

Color previews

#fff2bb text on a black background

contrast 18.67:1

Card sample

#fff2bb text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff2bb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff2bb in the Color Lab