Skip to content

#ffbe22

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

RGB
255, 190, 34
HSL
42°, 100%, 57%
CMYK
0, 26, 87, 0
Luminance
0.5820

Every format

HEX#ffbe22
RGBrgb(255, 190, 34)
HSLhsl(42, 100%, 57%)
CMYKcmyk(0%, 26%, 87%, 0%)
LABlab(80.8 11.3 78.0)
LCHlch(80.8 78.8 81.7)
OKLCHoklch(0.839 0.166 82.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffbe22 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#ffbe22 on black: 12.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green74.5%
Blue13.3%

CMYK percentages

Cyan0.0%
Magenta25.5%
Yellow86.7%
Key (black)0.0%

Color previews

#ffbe22 text on a black background

contrast 12.64:1

Card sample

#ffbe22 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffbe22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffbe22 in the Color Lab