Skip to content

#feffc2

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

RGB
254, 255, 194
HSL
61°, 100%, 88%
CMYK
0, 0, 24, 0
Luminance
0.9649

Every format

HEX#feffc2
RGBrgb(254, 255, 194)
HSLhsl(61, 100%, 88%)
CMYKcmyk(0%, 0%, 24%, 0%)
LABlab(98.6 -9.8 29.1)
LCHlch(98.6 30.7 108.6)
OKLCHoklch(0.985 0.078 108.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green100.0%
Blue76.1%

CMYK percentages

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

Color previews

#feffc2 text on a black background

contrast 20.30:1

Card sample

#feffc2 text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feffc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feffc2 in the Color Lab