Skip to content

#ffac2c

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

RGB
255, 172, 44
HSL
36°, 100%, 59%
CMYK
0, 33, 83, 0
Luminance
0.5095

Every format

HEX#ffac2c
RGBrgb(255, 172, 44)
HSLhsl(36, 100%, 59%)
CMYKcmyk(0%, 33%, 83%, 0%)
LABlab(76.7 20.9 71.8)
LCHlch(76.7 74.8 73.7)
OKLCHoklch(0.806 0.161 71.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffac2c on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#ffac2c on black: 11.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green67.5%
Blue17.3%

CMYK percentages

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

Color previews

#ffac2c text on a black background

contrast 11.19:1

Card sample

#ffac2c text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffac2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffac2c in the Color Lab