Skip to content

#fbab49

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

RGB
251, 171, 73
HSL
33°, 96%, 64%
CMYK
0, 32, 71, 2
Luminance
0.5012

Every format

HEX#fbab49
RGBrgb(251, 171, 73)
HSLhsl(33, 96%, 64%)
CMYKcmyk(0%, 32%, 71%, 2%)
LABlab(76.1 20.9 60.3)
LCHlch(76.1 63.8 70.9)
OKLCHoklch(0.802 0.145 68.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbab49 on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#fbab49 on black: 11.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green67.1%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta31.9%
Yellow70.9%
Key (black)1.6%

Color previews

#fbab49 text on a black background

contrast 11.02:1

Card sample

#fbab49 text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbab49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbab49 in the Color Lab