Skip to content

#bfa400

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

RGB
191, 164, 0
HSL
52°, 100%, 38%
CMYK
0, 14, 100, 25
Luminance
0.3763

Every format

HEX#bfa400
RGBrgb(191, 164, 0)
HSLhsl(52, 100%, 38%)
CMYKcmyk(0%, 14%, 100%, 25%)
LABlab(67.8 -3.4 70.8)
LCHlch(67.8 70.8 92.8)
OKLCHoklch(0.721 0.149 97.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfa400 on white: 2.46:1
AA ✗ fail · AA-large · AAA
Aa
#bfa400 on black: 8.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green64.3%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta14.1%
Yellow100.0%
Key (black)25.1%

Color previews

#bfa400 text on a black background

contrast 8.53:1

Card sample

#bfa400 text on a white background

contrast 2.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfa400

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfa400 in the Color Lab