Skip to content

#fffeaf

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

RGB
255, 254, 175
HSL
59°, 100%, 84%
CMYK
0, 0, 31, 0
Luminance
0.9524

Every format

HEX#fffeaf
RGBrgb(255, 254, 175)
HSLhsl(59, 100%, 84%)
CMYKcmyk(0%, 0%, 31%, 0%)
LABlab(98.1 -11.3 38.0)
LCHlch(98.1 39.6 106.6)
OKLCHoklch(0.980 0.099 107.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow31.4%
Key (black)0.0%

Color previews

#fffeaf text on a black background

contrast 20.05:1

Card sample

#fffeaf text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffeaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffeaf in the Color Lab