Skip to content

#fefaaa

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

RGB
254, 250, 170
HSL
57°, 98%, 83%
CMYK
0, 2, 33, 0
Luminance
0.9234

Every format

HEX#fefaaa
RGBrgb(254, 250, 170)
HSLhsl(57, 98%, 83%)
CMYKcmyk(0%, 2%, 33%, 0%)
LABlab(97.0 -10.3 38.9)
LCHlch(97.0 40.3 104.8)
OKLCHoklch(0.970 0.100 105.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fefaaa on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fefaaa on black: 19.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green98.0%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow33.1%
Key (black)0.4%

Color previews

#fefaaa text on a black background

contrast 19.47:1

Card sample

#fefaaa text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefaaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefaaa in the Color Lab