Skip to content

#ffac21

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

RGB
255, 172, 33
HSL
38°, 100%, 57%
CMYK
0, 33, 87, 0
Luminance
0.5087

Every format

HEX#ffac21
RGBrgb(255, 172, 33)
HSLhsl(38, 100%, 57%)
CMYKcmyk(0%, 33%, 87%, 0%)
LABlab(76.6 20.7 74.9)
LCHlch(76.6 77.7 74.6)
OKLCHoklch(0.806 0.165 72.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green67.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta32.5%
Yellow87.1%
Key (black)0.0%

Color previews

#ffac21 text on a black background

contrast 11.17:1

Card sample

#ffac21 text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffac21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffac21 in the Color Lab