Skip to content

#fadf2c

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

RGB
250, 223, 44
HSL
52°, 95%, 58%
CMYK
0, 11, 82, 2
Luminance
0.7328

Every format

HEX#fadf2c
RGBrgb(250, 223, 44)
HSLhsl(52, 95%, 58%)
CMYKcmyk(0%, 11%, 82%, 2%)
LABlab(88.6 -7.4 81.7)
LCHlch(88.6 82.1 95.2)
OKLCHoklch(0.899 0.178 99.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fadf2c on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#fadf2c on black: 15.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green87.5%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta10.8%
Yellow82.4%
Key (black)2.0%

Color previews

#fadf2c text on a black background

contrast 15.66:1

Card sample

#fadf2c text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fadf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fadf2c in the Color Lab