Skip to content

#bfbf2f

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

RGB
191, 191, 47
HSL
60°, 61%, 47%
CMYK
0, 0, 75, 25
Luminance
0.4854

Every format

HEX#bfbf2f
RGBrgb(191, 191, 47)
HSLhsl(60, 61%, 47%)
CMYKcmyk(0%, 0%, 75%, 25%)
LABlab(75.2 -16.3 67.2)
LCHlch(75.2 69.2 103.6)
OKLCHoklch(0.780 0.156 109.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfbf2f on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#bfbf2f on black: 10.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green74.9%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow75.4%
Key (black)25.1%

Color previews

#bfbf2f text on a black background

contrast 10.71:1

Card sample

#bfbf2f text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfbf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfbf2f in the Color Lab