Skip to content

#fbaf25

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

RGB
251, 175, 37
HSL
39°, 96%, 57%
CMYK
0, 30, 85, 2
Luminance
0.5130

Every format

HEX#fbaf25
RGBrgb(251, 175, 37)
HSLhsl(39, 96%, 57%)
CMYKcmyk(0%, 30%, 85%, 2%)
LABlab(76.9 17.5 73.9)
LCHlch(76.9 75.9 76.7)
OKLCHoklch(0.807 0.161 75.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fbaf25 on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#fbaf25 on black: 11.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.4%
Green68.6%
Blue14.5%

CMYK percentages

Cyan0.0%
Magenta30.3%
Yellow85.3%
Key (black)1.6%

Color previews

#fbaf25 text on a black background

contrast 11.26:1

Card sample

#fbaf25 text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fbaf25

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fbaf25 in the Color Lab