Skip to content

#fefec3

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

RGB
254, 254, 195
HSL
60°, 97%, 88%
CMYK
0, 0, 23, 0
Luminance
0.9589

Every format

HEX#fefec3
RGBrgb(254, 254, 195)
HSLhsl(60, 97%, 88%)
CMYKcmyk(0%, 0%, 23%, 0%)
LABlab(98.4 -9.2 28.3)
LCHlch(98.4 29.8 107.9)
OKLCHoklch(0.983 0.075 107.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green99.6%
Blue76.5%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow23.2%
Key (black)0.4%

Color previews

#fefec3 text on a black background

contrast 20.18:1

Card sample

#fefec3 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefec3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefec3 in the Color Lab