Skip to content

#ffbe2f

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

RGB
255, 190, 47
HSL
41°, 100%, 59%
CMYK
0, 26, 82, 0
Luminance
0.5829

Every format

HEX#ffbe2f
RGBrgb(255, 190, 47)
HSLhsl(41, 100%, 59%)
CMYKcmyk(0%, 26%, 82%, 0%)
LABlab(80.9 11.6 74.6)
LCHlch(80.9 75.5 81.1)
OKLCHoklch(0.840 0.162 81.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green74.5%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta25.5%
Yellow81.6%
Key (black)0.0%

Color previews

#ffbe2f text on a black background

contrast 12.66:1

Card sample

#ffbe2f text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffbe2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffbe2f in the Color Lab