Skip to content

#fefcc0

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

RGB
254, 252, 192
HSL
58°, 97%, 88%
CMYK
0, 1, 24, 0
Luminance
0.9450

Every format

HEX#fefcc0
RGBrgb(254, 252, 192)
HSLhsl(58, 97%, 88%)
CMYKcmyk(0%, 1%, 24%, 0%)
LABlab(97.8 -8.6 29.1)
LCHlch(97.8 30.3 106.4)
OKLCHoklch(0.978 0.076 106.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefcc0 on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fefcc0 on black: 19.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green98.8%
Blue75.3%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow24.4%
Key (black)0.4%

Color previews

#fefcc0 text on a black background

contrast 19.90:1

Card sample

#fefcc0 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefcc0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefcc0 in the Color Lab