Skip to content

#fffea6

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

RGB
255, 254, 166
HSL
59°, 100%, 83%
CMYK
0, 0, 35, 0
Luminance
0.9490

Every format

HEX#fffea6
RGBrgb(255, 254, 166)
HSLhsl(59, 100%, 83%)
CMYKcmyk(0%, 0%, 35%, 0%)
LABlab(98.0 -12.3 42.3)
LCHlch(98.0 44.0 106.3)
OKLCHoklch(0.978 0.109 107.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green99.6%
Blue65.1%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow34.9%
Key (black)0.0%

Color previews

#fffea6 text on a black background

contrast 19.98:1

Card sample

#fffea6 text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffea6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffea6 in the Color Lab