Skip to content

#ffaa00

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

RGB
255, 170, 0
HSL
40°, 100%, 50%
CMYK
0, 33, 100, 0
Luminance
0.5001

Every format

HEX#ffaa00
RGBrgb(255, 170, 0)
HSLhsl(40, 100%, 50%)
CMYKcmyk(0%, 33%, 100%, 0%)
LABlab(76.1 21.3 79.7)
LCHlch(76.1 82.5 75.0)
OKLCHoklch(0.802 0.171 73.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffaa00 on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#ffaa00 on black: 11.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green66.7%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta33.3%
Yellow100.0%
Key (black)0.0%

Color previews

#ffaa00 text on a black background

contrast 11.00:1

Card sample

#ffaa00 text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaa00

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaa00 in the Color Lab