Skip to content

#facf03

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

RGB
250, 207, 3
HSL
50°, 98%, 50%
CMYK
0, 17, 99, 2
Luminance
0.6496

Every format

HEX#facf03
RGBrgb(250, 207, 3)
HSLhsl(50, 98%, 50%)
CMYKcmyk(0%, 17%, 99%, 2%)
LABlab(84.5 0.0 84.9)
LCHlch(84.5 84.9 90.0)
OKLCHoklch(0.866 0.177 93.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green81.2%
Blue1.2%

CMYK percentages

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

Color previews

#facf03 text on a black background

contrast 13.99:1

Card sample

#facf03 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #facf03

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #facf03 in the Color Lab