Skip to content

#fff0cf

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

RGB
255, 240, 207
HSL
41°, 100%, 91%
CMYK
0, 6, 19, 0
Luminance
0.8809

Every format

HEX#fff0cf
RGBrgb(255, 240, 207)
HSLhsl(41, 100%, 91%)
CMYKcmyk(0%, 6%, 19%, 0%)
LABlab(95.2 -0.1 17.8)
LCHlch(95.2 17.8 90.4)
OKLCHoklch(0.959 0.046 86.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green94.1%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow18.8%
Key (black)0.0%

Color previews

#fff0cf text on a black background

contrast 18.62:1

Card sample

#fff0cf text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff0cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff0cf in the Color Lab