Skip to content

#fce2ad

a light, electric yellow · warm · closest name: tan

RGB
252, 226, 173
HSL
40°, 93%, 83%
CMYK
0, 10, 31, 1
Luminance
0.7811

Every format

HEX#fce2ad
RGBrgb(252, 226, 173)
HSLhsl(40, 93%, 83%)
CMYKcmyk(0%, 10%, 31%, 1%)
LABlab(90.8 1.3 29.2)
LCHlch(90.8 29.2 87.4)
OKLCHoklch(0.921 0.074 84.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fce2ad on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#fce2ad on black: 16.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green88.6%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta10.3%
Yellow31.3%
Key (black)1.2%

Color previews

#fce2ad text on a black background

contrast 16.62:1

Card sample

#fce2ad text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(252, 226, 173, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 226, 173, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fce2ad;
background: linear-gradient(135deg, #fce2ad, #E1FCAD);

Monochromatic scale

Palettes built from #fce2ad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fce2ad in the Color Lab