Skip to content

#feffc5

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

RGB
254, 255, 197
HSL
61°, 100%, 89%
CMYK
0, 0, 23, 0
Luminance
0.9662

Every format

HEX#feffc5
RGBrgb(254, 255, 197)
HSLhsl(61, 100%, 89%)
CMYKcmyk(0%, 0%, 23%, 0%)
LABlab(98.7 -9.4 27.7)
LCHlch(98.7 29.2 108.7)
OKLCHoklch(0.985 0.074 108.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#feffc5 on white: 1.03:1
AA ✗ fail · AA-large · AAA
Aa
#feffc5 on black: 20.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green100.0%
Blue77.3%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow22.7%
Key (black)0.0%

Color previews

#feffc5 text on a black background

contrast 20.32:1

Card sample

#feffc5 text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feffc5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feffc5 in the Color Lab