Skip to content

#bfa115

a dark, electric yellow · cool · closest name: olive

RGB
191, 161, 21
HSL
49°, 80%, 42%
CMYK
0, 16, 89, 25
Luminance
0.3662

Every format

HEX#bfa115
RGBrgb(191, 161, 21)
HSLhsl(49, 80%, 42%)
CMYKcmyk(0%, 16%, 89%, 25%)
LABlab(67.0 -1.5 67.1)
LCHlch(67.0 67.1 91.3)
OKLCHoklch(0.715 0.143 95.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfa115 on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#bfa115 on black: 8.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green63.1%
Blue8.2%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow89.0%
Key (black)25.1%

Color previews

#bfa115 text on a black background

contrast 8.32:1

Card sample

#bfa115 text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(191, 161, 21, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(191, 161, 21, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bfa115;
background: linear-gradient(135deg, #bfa115, #6CBF15);

Monochromatic scale

Palettes built from #bfa115

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfa115 in the Color Lab