Skip to content

#feffaa

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

RGB
254, 255, 170
HSL
61°, 100%, 83%
CMYK
0, 0, 33, 0
Luminance
0.9549

Every format

HEX#feffaa
RGBrgb(254, 255, 170)
HSLhsl(61, 100%, 83%)
CMYKcmyk(0%, 0%, 33%, 0%)
LABlab(98.2 -12.8 40.6)
LCHlch(98.2 42.5 107.5)
OKLCHoklch(0.980 0.106 108.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#feffaa on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#feffaa on black: 20.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green100.0%
Blue66.7%

CMYK percentages

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

Color previews

#feffaa text on a black background

contrast 20.10:1

Card sample

#feffaa text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feffaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feffaa in the Color Lab