Skip to content

#f5eee0

a pale, vivid yellow · warm · closest name: ivory

RGB
245, 238, 224
HSL
40°, 51%, 92%
CMYK
0, 3, 9, 4
Luminance
0.8594

Every format

HEX#f5eee0
RGBrgb(245, 238, 224)
HSLhsl(40, 51%, 92%)
CMYKcmyk(0%, 3%, 9%, 4%)
LABlab(94.3 -0.0 7.6)
LCHlch(94.3 7.6 90.1)
OKLCHoklch(0.951 0.020 84.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.1%
Green93.3%
Blue87.8%

CMYK percentages

Cyan0.0%
Magenta2.9%
Yellow8.6%
Key (black)3.9%

Color previews

#f5eee0 text on a black background

contrast 18.19:1

Card sample

#f5eee0 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5eee0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5eee0 in the Color Lab