Skip to content

#fefec7

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

RGB
254, 254, 199
HSL
60°, 97%, 89%
CMYK
0, 0, 22, 0
Luminance
0.9608

Every format

HEX#fefec7
RGBrgb(254, 254, 199)
HSLhsl(60, 97%, 89%)
CMYKcmyk(0%, 0%, 22%, 0%)
LABlab(98.5 -8.6 26.4)
LCHlch(98.5 27.8 108.1)
OKLCHoklch(0.984 0.070 107.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefec7 on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#fefec7 on black: 20.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green99.6%
Blue78.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow21.7%
Key (black)0.4%

Color previews

#fefec7 text on a black background

contrast 20.22:1

Card sample

#fefec7 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(254, 254, 199, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 254, 199, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fefec7;
background: linear-gradient(135deg, #fefec7, #D9FEC7);

Monochromatic scale

Palettes built from #fefec7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefec7 in the Color Lab