Skip to content

#fac04c

a balanced, electric yellow · warm · closest name: orange

RGB
250, 192, 76
HSL
40°, 95%, 64%
CMYK
0, 23, 70, 2
Luminance
0.5855

Every format

HEX#fac04c
RGBrgb(250, 192, 76)
HSLhsl(40, 95%, 64%)
CMYKcmyk(0%, 23%, 70%, 2%)
LABlab(81.0 9.6 64.0)
LCHlch(81.0 64.7 81.4)
OKLCHoklch(0.840 0.145 81.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fac04c on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#fac04c on black: 12.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green75.3%
Blue29.8%

CMYK percentages

Cyan0.0%
Magenta23.2%
Yellow69.6%
Key (black)2.0%

Color previews

#fac04c text on a black background

contrast 12.71:1

Card sample

#fac04c text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fac04c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fac04c in the Color Lab