Skip to content

#fb8c21

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

RGB
251, 140, 33
HSL
29°, 97%, 56%
CMYK
0, 44, 87, 2
Luminance
0.3938

Every format

HEX#fb8c21
RGBrgb(251, 140, 33)
HSLhsl(29, 97%, 56%)
CMYKcmyk(0%, 44%, 87%, 2%)
LABlab(69.0 35.6 68.7)
LCHlch(69.0 77.4 62.6)
OKLCHoklch(0.746 0.171 57.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fb8c21 on white: 2.37:1
AA ✗ fail · AA-large · AAA
Aa
#fb8c21 on black: 8.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green54.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta44.2%
Yellow86.9%
Key (black)1.6%

Color previews

#fb8c21 text on a black background

contrast 8.88:1

Card sample

#fb8c21 text on a white background

contrast 2.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fb8c21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fb8c21 in the Color Lab