Skip to content

#fff2bd

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

RGB
255, 242, 189
HSL
48°, 100%, 87%
CMYK
0, 5, 26, 0
Luminance
0.8844

Every format

HEX#fff2bd
RGBrgb(255, 242, 189)
HSLhsl(48, 100%, 87%)
CMYKcmyk(0%, 5%, 26%, 0%)
LABlab(95.3 -3.6 27.2)
LCHlch(95.3 27.4 97.6)
OKLCHoklch(0.959 0.069 95.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green94.9%
Blue74.1%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow25.9%
Key (black)0.0%

Color previews

#fff2bd text on a black background

contrast 18.69:1

Card sample

#fff2bd text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff2bd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff2bd in the Color Lab