Skip to content

#bfc40c

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

RGB
191, 196, 12
HSL
62°, 89%, 41%
CMYK
3, 0, 94, 23
Luminance
0.5058

Every format

HEX#bfc40c
RGBrgb(191, 196, 12)
HSLhsl(62, 89%, 41%)
CMYKcmyk(3%, 0%, 94%, 23%)
LABlab(76.4 -19.7 75.8)
LCHlch(76.4 78.3 104.6)
OKLCHoklch(0.790 0.173 111.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfc40c on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#bfc40c on black: 11.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green76.9%
Blue4.7%

CMYK percentages

Cyan2.6%
Magenta0.0%
Yellow93.9%
Key (black)23.1%

Color previews

#bfc40c text on a black background

contrast 11.12:1

Card sample

#bfc40c text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfc40c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfc40c in the Color Lab