Skip to content

#f5f4cc

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

RGB
245, 244, 204
HSL
59°, 67%, 88%
CMYK
0, 0, 17, 4
Luminance
0.8847

Every format

HEX#f5f4cc
RGBrgb(245, 244, 204)
HSLhsl(59, 67%, 88%)
CMYKcmyk(0%, 0%, 17%, 4%)
LABlab(95.4 -6.1 19.4)
LCHlch(95.4 20.4 107.5)
OKLCHoklch(0.958 0.052 106.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5f4cc on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#f5f4cc on black: 18.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green95.7%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow16.7%
Key (black)3.9%

Color previews

#f5f4cc text on a black background

contrast 18.69:1

Card sample

#f5f4cc text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5f4cc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5f4cc in the Color Lab