Skip to content

#f0f3cf

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

RGB
240, 243, 207
HSL
65°, 60%, 88%
CMYK
1, 0, 15, 5
Luminance
0.8713

Every format

HEX#f0f3cf
RGBrgb(240, 243, 207)
HSLhsl(65, 60%, 88%)
CMYKcmyk(1%, 0%, 15%, 5%)
LABlab(94.8 -7.0 17.1)
LCHlch(94.8 18.4 112.2)
OKLCHoklch(0.953 0.047 111.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0f3cf on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#f0f3cf on black: 18.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green95.3%
Blue81.2%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow14.8%
Key (black)4.7%

Color previews

#f0f3cf text on a black background

contrast 18.43:1

Card sample

#f0f3cf text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0f3cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0f3cf in the Color Lab