Skip to content

#ffbb22

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

RGB
255, 187, 34
HSL
42°, 100%, 57%
CMYK
0, 27, 87, 0
Luminance
0.5692

Every format

HEX#ffbb22
RGBrgb(255, 187, 34)
HSLhsl(42, 100%, 57%)
CMYKcmyk(0%, 27%, 87%, 0%)
LABlab(80.1 12.9 77.4)
LCHlch(80.1 78.5 80.6)
OKLCHoklch(0.834 0.166 80.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffbb22 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#ffbb22 on black: 12.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green73.3%
Blue13.3%

CMYK percentages

Cyan0.0%
Magenta26.7%
Yellow86.7%
Key (black)0.0%

Color previews

#ffbb22 text on a black background

contrast 12.38:1

Card sample

#ffbb22 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffbb22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffbb22 in the Color Lab