Skip to content

#fade2a

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

RGB
250, 222, 42
HSL
52°, 95%, 57%
CMYK
0, 11, 83, 2
Luminance
0.7273

Every format

HEX#fade2a
RGBrgb(250, 222, 42)
HSLhsl(52, 95%, 57%)
CMYKcmyk(0%, 11%, 83%, 2%)
LABlab(88.3 -7.0 82.0)
LCHlch(88.3 82.3 94.9)
OKLCHoklch(0.897 0.178 99.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fade2a on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#fade2a on black: 15.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green87.1%
Blue16.5%

CMYK percentages

Cyan0.0%
Magenta11.2%
Yellow83.2%
Key (black)2.0%

Color previews

#fade2a text on a black background

contrast 15.55:1

Card sample

#fade2a text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fade2a

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fade2a in the Color Lab