Skip to content

#fdba1b

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

RGB
253, 186, 27
HSL
42°, 98%, 55%
CMYK
0, 27, 89, 1
Luminance
0.5608

Every format

HEX#fdba1b
RGBrgb(253, 186, 27)
HSLhsl(42, 98%, 55%)
CMYKcmyk(0%, 27%, 89%, 1%)
LABlab(79.7 12.4 78.5)
LCHlch(79.7 79.5 81.0)
OKLCHoklch(0.829 0.166 81.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdba1b on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#fdba1b on black: 12.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green72.9%
Blue10.6%

CMYK percentages

Cyan0.0%
Magenta26.5%
Yellow89.3%
Key (black)0.8%

Color previews

#fdba1b text on a black background

contrast 12.22:1

Card sample

#fdba1b text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdba1b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdba1b in the Color Lab