Skip to content

#fac821

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

RGB
250, 200, 33
HSL
46°, 96%, 56%
CMYK
0, 20, 87, 2
Luminance
0.6174

Every format

HEX#fac821
RGBrgb(250, 200, 33)
HSLhsl(46, 96%, 56%)
CMYKcmyk(0%, 20%, 87%, 2%)
LABlab(82.8 4.0 79.5)
LCHlch(82.8 79.6 87.1)
OKLCHoklch(0.853 0.168 89.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fac821 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#fac821 on black: 13.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green78.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta20.0%
Yellow86.8%
Key (black)2.0%

Color previews

#fac821 text on a black background

contrast 13.35:1

Card sample

#fac821 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(250, 200, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 200, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fac821;
background: linear-gradient(135deg, #fac821, #9BFA21);

Monochromatic scale

Palettes built from #fac821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fac821 in the Color Lab