Skip to content

#fecc80

a light, electric orange · warm · closest name: khaki

RGB
254, 204, 128
HSL
36°, 98%, 75%
CMYK
0, 20, 50, 0
Luminance
0.6582

Every format

HEX#fecc80
RGBrgb(254, 204, 128)
HSLhsl(36, 98%, 75%)
CMYKcmyk(0%, 20%, 50%, 0%)
LABlab(84.9 8.7 44.4)
LCHlch(84.9 45.2 79.0)
OKLCHoklch(0.873 0.110 77.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fecc80 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#fecc80 on black: 14.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green80.0%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta19.7%
Yellow49.6%
Key (black)0.4%

Color previews

#fecc80 text on a black background

contrast 14.16:1

Card sample

#fecc80 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fecc80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fecc80 in the Color Lab