Skip to content

#facb3b

a balanced, electric yellow · cool · closest name: gold

RGB
250, 203, 59
HSL
45°, 95%, 61%
CMYK
0, 19, 76, 2
Luminance
0.6335

Every format

HEX#facb3b
RGBrgb(250, 203, 59)
HSLhsl(45, 95%, 61%)
CMYKcmyk(0%, 19%, 76%, 2%)
LABlab(83.6 3.2 73.0)
LCHlch(83.6 73.0 87.5)
OKLCHoklch(0.860 0.159 89.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#facb3b on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#facb3b on black: 13.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green79.6%
Blue23.1%

CMYK percentages

Cyan0.0%
Magenta18.8%
Yellow76.4%
Key (black)2.0%

Color previews

#facb3b text on a black background

contrast 13.67:1

Card sample

#facb3b text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #facb3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #facb3b in the Color Lab