Skip to content

#b3bc2f

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

RGB
179, 188, 47
HSL
64°, 60%, 46%
CMYK
5, 0, 75, 26
Luminance
0.4576

Every format

HEX#b3bc2f
RGBrgb(179, 188, 47)
HSLhsl(64, 60%, 46%)
CMYKcmyk(5%, 0%, 75%, 26%)
LABlab(73.4 -19.9 65.2)
LCHlch(73.4 68.2 107.0)
OKLCHoklch(0.764 0.156 113.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3bc2f on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#b3bc2f on black: 10.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green73.7%
Blue18.4%

CMYK percentages

Cyan4.8%
Magenta0.0%
Yellow75.0%
Key (black)26.3%

Color previews

#b3bc2f text on a black background

contrast 10.15:1

Card sample

#b3bc2f text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(179, 188, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 188, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b3bc2f;
background: linear-gradient(135deg, #b3bc2f, #55BC2F);

Monochromatic scale

Palettes built from #b3bc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3bc2f in the Color Lab