Skip to content

#feff7f

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

RGB
254, 255, 127
HSL
61°, 100%, 75%
CMYK
0, 0, 50, 0
Luminance
0.9412

Every format

HEX#feff7f
RGBrgb(254, 255, 127)
HSLhsl(61, 100%, 75%)
CMYKcmyk(0%, 0%, 50%, 0%)
LABlab(97.7 -17.0 60.3)
LCHlch(97.7 62.7 105.8)
OKLCHoklch(0.974 0.150 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#feff7f on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#feff7f on black: 19.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green100.0%
Blue49.8%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow50.2%
Key (black)0.0%

Color previews

#feff7f text on a black background

contrast 19.82:1

Card sample

#feff7f text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feff7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feff7f in the Color Lab