Skip to content

#fdf0cf

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

RGB
253, 240, 207
HSL
43°, 92%, 90%
CMYK
0, 5, 18, 1
Luminance
0.8771

Every format

HEX#fdf0cf
RGBrgb(253, 240, 207)
HSLhsl(43, 92%, 90%)
CMYKcmyk(0%, 5%, 18%, 1%)
LABlab(95.0 -0.8 17.5)
LCHlch(95.0 17.6 92.7)
OKLCHoklch(0.957 0.045 89.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.1%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow18.2%
Key (black)0.8%

Color previews

#fdf0cf text on a black background

contrast 18.54:1

Card sample

#fdf0cf text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf0cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf0cf in the Color Lab