Skip to content

#fefeaf

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

RGB
254, 254, 175
HSL
60°, 98%, 84%
CMYK
0, 0, 31, 0
Luminance
0.9505

Every format

HEX#fefeaf
RGBrgb(254, 254, 175)
HSLhsl(60, 98%, 84%)
CMYKcmyk(0%, 0%, 31%, 0%)
LABlab(98.0 -11.7 37.9)
LCHlch(98.0 39.6 107.1)
OKLCHoklch(0.979 0.099 108.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green99.6%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow31.1%
Key (black)0.4%

Color previews

#fefeaf text on a black background

contrast 20.01:1

Card sample

#fefeaf text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefeaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefeaf in the Color Lab