Skip to content

#feca2f

a balanced, electric yellow · warm · closest name: gold

RGB
254, 202, 47
HSL
45°, 99%, 59%
CMYK
0, 21, 82, 0
Luminance
0.6352

Every format

HEX#feca2f
RGBrgb(254, 202, 47)
HSLhsl(45, 99%, 59%)
CMYKcmyk(0%, 21%, 82%, 0%)
LABlab(83.7 5.0 77.0)
LCHlch(83.7 77.1 86.3)
OKLCHoklch(0.862 0.165 88.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#feca2f on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#feca2f on black: 13.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green79.2%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta20.5%
Yellow81.5%
Key (black)0.4%

Color previews

#feca2f text on a black background

contrast 13.70:1

Card sample

#feca2f text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feca2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feca2f in the Color Lab