Skip to content

#fffe6e

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

RGB
255, 254, 110
HSL
60°, 100%, 72%
CMYK
0, 0, 57, 0
Luminance
0.9327

Every format

HEX#fffe6e
RGBrgb(255, 254, 110)
HSLhsl(60, 100%, 72%)
CMYKcmyk(0%, 0%, 57%, 0%)
LABlab(97.3 -17.4 67.4)
LCHlch(97.3 69.6 104.5)
OKLCHoklch(0.971 0.164 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffe6e on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fffe6e on black: 19.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green99.6%
Blue43.1%

CMYK percentages

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

Color previews

#fffe6e text on a black background

contrast 19.65:1

Card sample

#fffe6e text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffe6e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffe6e in the Color Lab