Skip to content

#ffba3d

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

RGB
255, 186, 61
HSL
39°, 100%, 62%
CMYK
0, 27, 76, 0
Luminance
0.5671

Every format

HEX#ffba3d
RGBrgb(255, 186, 61)
HSLhsl(39, 100%, 62%)
CMYKcmyk(0%, 27%, 76%, 0%)
LABlab(80.0 14.2 69.1)
LCHlch(80.0 70.5 78.4)
OKLCHoklch(0.833 0.154 77.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffba3d on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#ffba3d on black: 12.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green72.9%
Blue23.9%

CMYK percentages

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

Color previews

#ffba3d text on a black background

contrast 12.34:1

Card sample

#ffba3d text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffba3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffba3d in the Color Lab