Skip to content

#ffbf2f

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

RGB
255, 191, 47
HSL
42°, 100%, 59%
CMYK
0, 25, 82, 0
Luminance
0.5873

Every format

HEX#ffbf2f
RGBrgb(255, 191, 47)
HSLhsl(42, 100%, 59%)
CMYKcmyk(0%, 25%, 82%, 0%)
LABlab(81.1 11.1 74.8)
LCHlch(81.1 75.6 81.5)
OKLCHoklch(0.842 0.162 82.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffbf2f on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#ffbf2f on black: 12.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green74.9%
Blue18.4%

CMYK percentages

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

Color previews

#ffbf2f text on a black background

contrast 12.75:1

Card sample

#ffbf2f text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffbf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffbf2f in the Color Lab