Skip to content

#ffaa22

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

RGB
255, 170, 34
HSL
37°, 100%, 57%
CMYK
0, 33, 87, 0
Luminance
0.5012

Every format

HEX#ffaa22
RGBrgb(255, 170, 34)
HSLhsl(37, 100%, 57%)
CMYKcmyk(0%, 33%, 87%, 0%)
LABlab(76.2 21.7 74.3)
LCHlch(76.2 77.4 73.7)
OKLCHoklch(0.802 0.165 71.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffaa22 on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#ffaa22 on black: 11.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green66.7%
Blue13.3%

CMYK percentages

Cyan0.0%
Magenta33.3%
Yellow86.7%
Key (black)0.0%

Color previews

#ffaa22 text on a black background

contrast 11.02:1

Card sample

#ffaa22 text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaa22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaa22 in the Color Lab