Skip to content

#fff0d2

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

RGB
255, 240, 210
HSL
40°, 100%, 91%
CMYK
0, 6, 18, 0
Luminance
0.8823

Every format

HEX#fff0d2
RGBrgb(255, 240, 210)
HSLhsl(40, 100%, 91%)
CMYKcmyk(0%, 6%, 18%, 0%)
LABlab(95.3 0.3 16.3)
LCHlch(95.3 16.3 88.9)
OKLCHoklch(0.959 0.042 84.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green94.1%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow17.6%
Key (black)0.0%

Color previews

#fff0d2 text on a black background

contrast 18.65:1

Card sample

#fff0d2 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff0d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff0d2 in the Color Lab