Skip to content

#ffba00

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

RGB
255, 186, 0
HSL
44°, 100%, 50%
CMYK
0, 27, 100, 0
Luminance
0.5638

Every format

HEX#ffba00
RGBrgb(255, 186, 0)
HSLhsl(44, 100%, 50%)
CMYKcmyk(0%, 27%, 100%, 0%)
LABlab(79.8 13.0 82.2)
LCHlch(79.8 83.2 81.0)
OKLCHoklch(0.831 0.171 81.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green72.9%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta27.1%
Yellow100.0%
Key (black)0.0%

Color previews

#ffba00 text on a black background

contrast 12.28:1

Card sample

#ffba00 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffba00

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffba00 in the Color Lab