Skip to content

#feffc0

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

RGB
254, 255, 192
HSL
61°, 100%, 88%
CMYK
0, 0, 25, 0
Luminance
0.9640

Every format

HEX#feffc0
RGBrgb(254, 255, 192)
HSLhsl(61, 100%, 88%)
CMYKcmyk(0%, 0%, 25%, 0%)
LABlab(98.6 -10.0 30.1)
LCHlch(98.6 31.7 108.4)
OKLCHoklch(0.984 0.080 108.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green100.0%
Blue75.3%

CMYK percentages

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

Color previews

#feffc0 text on a black background

contrast 20.28:1

Card sample

#feffc0 text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feffc0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feffc0 in the Color Lab