Skip to content

#ffab0f

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

RGB
255, 171, 15
HSL
39°, 100%, 53%
CMYK
0, 33, 94, 0
Luminance
0.5042

Every format

HEX#ffab0f
RGBrgb(255, 171, 15)
HSLhsl(39, 100%, 53%)
CMYKcmyk(0%, 33%, 94%, 0%)
LABlab(76.3 20.9 78.2)
LCHlch(76.3 80.9 75.0)
OKLCHoklch(0.804 0.169 73.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffab0f on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#ffab0f on black: 11.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green67.1%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta32.9%
Yellow94.1%
Key (black)0.0%

Color previews

#ffab0f text on a black background

contrast 11.08:1

Card sample

#ffab0f text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffab0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffab0f in the Color Lab