Skip to content

#feffa4

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

RGB
254, 255, 164
HSL
61°, 100%, 82%
CMYK
0, 0, 36, 0
Luminance
0.9527

Every format

HEX#feffa4
RGBrgb(254, 255, 164)
HSLhsl(61, 100%, 82%)
CMYKcmyk(0%, 0%, 36%, 0%)
LABlab(98.1 -13.4 43.4)
LCHlch(98.1 45.4 107.2)
OKLCHoklch(0.979 0.113 108.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#feffa4 on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#feffa4 on black: 20.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green100.0%
Blue64.3%

CMYK percentages

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

Color previews

#feffa4 text on a black background

contrast 20.05:1

Card sample

#feffa4 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feffa4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feffa4 in the Color Lab