Skip to content

#fadf39

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

RGB
250, 223, 57
HSL
52°, 95%, 60%
CMYK
0, 11, 77, 2
Luminance
0.7339

Every format

HEX#fadf39
RGBrgb(250, 223, 57)
HSLhsl(52, 95%, 60%)
CMYKcmyk(0%, 11%, 77%, 2%)
LABlab(88.6 -7.0 78.2)
LCHlch(88.6 78.5 95.1)
OKLCHoklch(0.900 0.172 99.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green87.5%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta10.8%
Yellow77.2%
Key (black)2.0%

Color previews

#fadf39 text on a black background

contrast 15.68:1

Card sample

#fadf39 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fadf39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fadf39 in the Color Lab