Skip to content

#fbc049

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

RGB
251, 192, 73
HSL
40°, 96%, 64%
CMYK
0, 24, 71, 2
Luminance
0.5869

Every format

HEX#fbc049
RGBrgb(251, 192, 73)
HSLhsl(40, 96%, 64%)
CMYKcmyk(0%, 24%, 71%, 2%)
LABlab(81.1 9.9 65.4)
LCHlch(81.1 66.1 81.4)
OKLCHoklch(0.841 0.147 81.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbc049 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#fbc049 on black: 12.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green75.3%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta23.5%
Yellow70.9%
Key (black)1.6%

Color previews

#fbc049 text on a black background

contrast 12.74:1

Card sample

#fbc049 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(251, 192, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(251, 192, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fbc049;
background: linear-gradient(135deg, #fbc049, #BFFB49);

Monochromatic scale

Palettes built from #fbc049

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbc049 in the Color Lab