Skip to content

#fffea0

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

RGB
255, 254, 160
HSL
59°, 100%, 81%
CMYK
0, 0, 37, 0
Luminance
0.9468

Every format

HEX#fffea0
RGBrgb(255, 254, 160)
HSLhsl(59, 100%, 81%)
CMYKcmyk(0%, 0%, 37%, 0%)
LABlab(97.9 -13.0 45.1)
LCHlch(97.9 46.9 106.1)
OKLCHoklch(0.977 0.116 107.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue62.7%

CMYK percentages

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

Color previews

#fffea0 text on a black background

contrast 19.94:1

Card sample

#fffea0 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffea0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffea0 in the Color Lab