Skip to content

#fadc2f

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

RGB
250, 220, 47
HSL
51°, 95%, 58%
CMYK
0, 12, 81, 2
Luminance
0.7172

Every format

HEX#fadc2f
RGBrgb(250, 220, 47)
HSLhsl(51, 95%, 58%)
CMYKcmyk(0%, 12%, 81%, 2%)
LABlab(87.8 -5.8 80.3)
LCHlch(87.8 80.5 94.2)
OKLCHoklch(0.893 0.175 98.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fadc2f on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#fadc2f on black: 15.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green86.3%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta12.0%
Yellow81.2%
Key (black)2.0%

Color previews

#fadc2f text on a black background

contrast 15.34:1

Card sample

#fadc2f text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(250, 220, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 220, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fadc2f;
background: linear-gradient(135deg, #fadc2f, #91FA2F);

Monochromatic scale

Palettes built from #fadc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fadc2f in the Color Lab