Skip to content

#feeb2f

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

RGB
254, 235, 47
HSL
55°, 99%, 59%
CMYK
0, 8, 82, 0
Luminance
0.8069

Every format

HEX#feeb2f
RGBrgb(254, 235, 47)
HSLhsl(55, 99%, 59%)
CMYKcmyk(0%, 8%, 82%, 0%)
LABlab(92.0 -11.6 84.0)
LCHlch(92.0 84.8 97.9)
OKLCHoklch(0.927 0.185 103.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#feeb2f on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#feeb2f on black: 17.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green92.2%
Blue18.4%

CMYK percentages

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

Color previews

#feeb2f text on a black background

contrast 17.14:1

Card sample

#feeb2f text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #feeb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #feeb2f in the Color Lab