Skip to content

#fbaf49

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

RGB
251, 175, 73
HSL
34°, 96%, 64%
CMYK
0, 30, 71, 2
Luminance
0.5165

Every format

HEX#fbaf49
RGBrgb(251, 175, 73)
HSLhsl(34, 96%, 64%)
CMYKcmyk(0%, 30%, 71%, 2%)
LABlab(77.1 18.8 61.2)
LCHlch(77.1 64.0 72.9)
OKLCHoklch(0.809 0.145 70.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbaf49 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#fbaf49 on black: 11.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green68.6%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta30.3%
Yellow70.9%
Key (black)1.6%

Color previews

#fbaf49 text on a black background

contrast 11.33:1

Card sample

#fbaf49 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbaf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbaf49 in the Color Lab