Skip to content

#fffeaa

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

RGB
255, 254, 170
HSL
59°, 100%, 83%
CMYK
0, 0, 33, 0
Luminance
0.9505

Every format

HEX#fffeaa
RGBrgb(255, 254, 170)
HSLhsl(59, 100%, 83%)
CMYKcmyk(0%, 0%, 33%, 0%)
LABlab(98.0 -11.9 40.4)
LCHlch(98.0 42.1 106.4)
OKLCHoklch(0.979 0.105 107.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow33.3%
Key (black)0.0%

Color previews

#fffeaa text on a black background

contrast 20.01:1

Card sample

#fffeaa text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffeaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffeaa in the Color Lab