Skip to content

#feffc3

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

RGB
254, 255, 195
HSL
61°, 100%, 88%
CMYK
0, 0, 24, 0
Luminance
0.9653

Every format

HEX#feffc3
RGBrgb(254, 255, 195)
HSLhsl(61, 100%, 88%)
CMYKcmyk(0%, 0%, 24%, 0%)
LABlab(98.6 -9.6 28.7)
LCHlch(98.6 30.2 108.6)
OKLCHoklch(0.985 0.076 108.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green100.0%
Blue76.5%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow23.5%
Key (black)0.0%

Color previews

#feffc3 text on a black background

contrast 20.31:1

Card sample

#feffc3 text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feffc3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feffc3 in the Color Lab