Skip to content

#f4f0cd

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

RGB
244, 240, 205
HSL
54°, 64%, 88%
CMYK
0, 2, 16, 4
Luminance
0.8596

Every format

HEX#f4f0cd
RGBrgb(244, 240, 205)
HSLhsl(54, 64%, 88%)
CMYKcmyk(0%, 2%, 16%, 4%)
LABlab(94.3 -4.3 17.4)
LCHlch(94.3 18.0 104.0)
OKLCHoklch(0.949 0.046 101.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4f0cd on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#f4f0cd on black: 18.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green94.1%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow16.0%
Key (black)4.3%

Color previews

#f4f0cd text on a black background

contrast 18.19:1

Card sample

#f4f0cd text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4f0cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4f0cd in the Color Lab