Skip to content

#ffba29

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

RGB
255, 186, 41
HSL
41°, 100%, 58%
CMYK
0, 27, 84, 0
Luminance
0.5654

Every format

HEX#ffba29
RGBrgb(255, 186, 41)
HSLhsl(41, 100%, 58%)
CMYKcmyk(0%, 27%, 84%, 0%)
LABlab(79.9 13.6 75.5)
LCHlch(79.9 76.7 79.8)
OKLCHoklch(0.832 0.163 79.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffba29 on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#ffba29 on black: 12.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green72.9%
Blue16.1%

CMYK percentages

Cyan0.0%
Magenta27.1%
Yellow83.9%
Key (black)0.0%

Color previews

#ffba29 text on a black background

contrast 12.31:1

Card sample

#ffba29 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffba29

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffba29 in the Color Lab