Skip to content

#ffab2c

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

RGB
255, 171, 44
HSL
36°, 100%, 59%
CMYK
0, 33, 83, 0
Luminance
0.5057

Every format

HEX#ffab2c
RGBrgb(255, 171, 44)
HSLhsl(36, 100%, 59%)
CMYKcmyk(0%, 33%, 83%, 0%)
LABlab(76.4 21.5 71.6)
LCHlch(76.4 74.8 73.3)
OKLCHoklch(0.805 0.161 71.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green67.1%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta32.9%
Yellow82.7%
Key (black)0.0%

Color previews

#ffab2c text on a black background

contrast 11.11:1

Card sample

#ffab2c text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffab2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffab2c in the Color Lab