Skip to content

#feffc6

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

RGB
254, 255, 198
HSL
61°, 100%, 89%
CMYK
0, 0, 22, 0
Luminance
0.9667

Every format

HEX#feffc6
RGBrgb(254, 255, 198)
HSLhsl(61, 100%, 89%)
CMYKcmyk(0%, 0%, 22%, 0%)
LABlab(98.7 -9.2 27.2)
LCHlch(98.7 28.8 108.8)
OKLCHoklch(0.986 0.073 108.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#feffc6 text on a black background

contrast 20.33:1

Card sample

#feffc6 text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feffc6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feffc6 in the Color Lab