Skip to content

#fbab0d

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

RGB
251, 171, 13
HSL
40°, 97%, 52%
CMYK
0, 32, 95, 2
Luminance
0.4966

Every format

HEX#fbab0d
RGBrgb(251, 171, 13)
HSLhsl(40, 97%, 52%)
CMYKcmyk(0%, 32%, 95%, 2%)
LABlab(75.9 19.2 77.9)
LCHlch(75.9 80.2 76.1)
OKLCHoklch(0.799 0.167 74.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.4%
Green67.1%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta31.9%
Yellow94.8%
Key (black)1.6%

Color previews

#fbab0d text on a black background

contrast 10.93:1

Card sample

#fbab0d text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbab0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbab0d in the Color Lab