Skip to content

#fbab2d

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

RGB
251, 171, 45
HSL
37°, 96%, 58%
CMYK
0, 32, 82, 2
Luminance
0.4982

Every format

HEX#fbab2d
RGBrgb(251, 171, 45)
HSLhsl(37, 96%, 58%)
CMYKcmyk(0%, 32%, 82%, 2%)
LABlab(76.0 19.8 70.8)
LCHlch(76.0 73.5 74.4)
OKLCHoklch(0.800 0.159 72.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbab2d on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#fbab2d on black: 10.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green67.1%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta31.9%
Yellow82.1%
Key (black)1.6%

Color previews

#fbab2d text on a black background

contrast 10.96:1

Card sample

#fbab2d text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbab2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbab2d in the Color Lab