Skip to content

#fabf49

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

RGB
250, 191, 73
HSL
40°, 95%, 63%
CMYK
0, 24, 71, 2
Luminance
0.5807

Every format

HEX#fabf49
RGBrgb(250, 191, 73)
HSLhsl(40, 95%, 63%)
CMYKcmyk(0%, 24%, 71%, 2%)
LABlab(80.8 10.0 65.0)
LCHlch(80.8 65.8 81.3)
OKLCHoklch(0.838 0.147 81.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fabf49 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#fabf49 on black: 12.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green74.9%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta23.6%
Yellow70.8%
Key (black)2.0%

Color previews

#fabf49 text on a black background

contrast 12.61:1

Card sample

#fabf49 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fabf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fabf49 in the Color Lab