Skip to content

#fefd80

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

RGB
254, 253, 128
HSL
60°, 98%, 75%
CMYK
0, 0, 50, 0
Luminance
0.9288

Every format

HEX#fefd80
RGBrgb(254, 253, 128)
HSLhsl(60, 98%, 75%)
CMYKcmyk(0%, 0%, 50%, 0%)
LABlab(97.2 -16.0 59.3)
LCHlch(97.2 61.4 105.1)
OKLCHoklch(0.970 0.147 108.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green99.2%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow49.6%
Key (black)0.4%

Color previews

#fefd80 text on a black background

contrast 19.58:1

Card sample

#fefd80 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fefd80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fefd80 in the Color Lab