Skip to content

#fff0cb

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

RGB
255, 240, 203
HSL
43°, 100%, 90%
CMYK
0, 6, 20, 0
Luminance
0.8789

Every format

HEX#fff0cb
RGBrgb(255, 240, 203)
HSLhsl(43, 100%, 90%)
CMYKcmyk(0%, 6%, 20%, 0%)
LABlab(95.1 -0.7 19.7)
LCHlch(95.1 19.7 92.0)
OKLCHoklch(0.958 0.051 88.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff0cb on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#fff0cb on black: 18.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green94.1%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow20.4%
Key (black)0.0%

Color previews

#fff0cb text on a black background

contrast 18.58:1

Card sample

#fff0cb text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff0cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff0cb in the Color Lab