Skip to content

#bfba39

a balanced, vivid yellow · cool · closest name: olive

RGB
191, 186, 57
HSL
58°, 54%, 49%
CMYK
0, 3, 70, 25
Luminance
0.4649

Every format

HEX#bfba39
RGBrgb(191, 186, 57)
HSLhsl(58, 54%, 49%)
CMYKcmyk(0%, 3%, 70%, 25%)
LABlab(73.9 -13.3 62.5)
LCHlch(73.9 63.9 102.0)
OKLCHoklch(0.770 0.145 107.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfba39 on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#bfba39 on black: 10.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green72.9%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta2.6%
Yellow70.2%
Key (black)25.1%

Color previews

#bfba39 text on a black background

contrast 10.30:1

Card sample

#bfba39 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfba39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfba39 in the Color Lab