Skip to content

#f2f4cf

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

RGB
242, 244, 207
HSL
63°, 63%, 88%
CMYK
1, 0, 15, 4
Luminance
0.8808

Every format

HEX#f2f4cf
RGBrgb(242, 244, 207)
HSLhsl(63, 63%, 88%)
CMYKcmyk(1%, 0%, 15%, 4%)
LABlab(95.2 -6.8 17.6)
LCHlch(95.2 18.9 111.0)
OKLCHoklch(0.956 0.048 109.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green95.7%
Blue81.2%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow15.2%
Key (black)4.3%

Color previews

#f2f4cf text on a black background

contrast 18.62:1

Card sample

#f2f4cf text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2f4cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2f4cf in the Color Lab