Skip to content

#fac607

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

RGB
250, 198, 7
HSL
47°, 96%, 50%
CMYK
0, 21, 97, 2
Luminance
0.6073

Every format

HEX#fac607
RGBrgb(250, 198, 7)
HSLhsl(47, 96%, 50%)
CMYKcmyk(0%, 21%, 97%, 2%)
LABlab(82.2 4.7 83.0)
LCHlch(82.2 83.1 86.8)
OKLCHoklch(0.849 0.173 89.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fac607 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#fac607 on black: 13.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green77.6%
Blue2.7%

CMYK percentages

Cyan0.0%
Magenta20.8%
Yellow97.2%
Key (black)2.0%

Color previews

#fac607 text on a black background

contrast 13.15:1

Card sample

#fac607 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fac607

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fac607 in the Color Lab