Skip to content

#faba21

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

RGB
250, 186, 33
HSL
42°, 96%, 56%
CMYK
0, 26, 87, 2
Luminance
0.5555

Every format

HEX#faba21
RGBrgb(250, 186, 33)
HSLhsl(42, 96%, 56%)
CMYKcmyk(0%, 26%, 87%, 2%)
LABlab(79.4 11.3 76.8)
LCHlch(79.4 77.6 81.7)
OKLCHoklch(0.826 0.164 82.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faba21 on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#faba21 on black: 12.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green72.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta25.6%
Yellow86.8%
Key (black)2.0%

Color previews

#faba21 text on a black background

contrast 12.11:1

Card sample

#faba21 text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faba21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faba21 in the Color Lab