Skip to content

#facf2b

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

RGB
250, 207, 43
HSL
48°, 95%, 58%
CMYK
0, 17, 83, 2
Luminance
0.6512

Every format

HEX#facf2b
RGBrgb(250, 207, 43)
HSLhsl(48, 95%, 58%)
CMYKcmyk(0%, 17%, 83%, 2%)
LABlab(84.5 0.6 78.6)
LCHlch(84.5 78.6 89.5)
OKLCHoklch(0.867 0.168 92.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#facf2b on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#facf2b on black: 14.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green81.2%
Blue16.9%

CMYK percentages

Cyan0.0%
Magenta17.2%
Yellow82.8%
Key (black)2.0%

Color previews

#facf2b text on a black background

contrast 14.02:1

Card sample

#facf2b text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #facf2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #facf2b in the Color Lab