Skip to content

#bcbc2f

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

RGB
188, 188, 47
HSL
60°, 60%, 46%
CMYK
0, 0, 75, 26
Luminance
0.4686

Every format

HEX#bcbc2f
RGBrgb(188, 188, 47)
HSLhsl(60, 60%, 46%)
CMYKcmyk(0%, 0%, 75%, 26%)
LABlab(74.1 -16.1 66.1)
LCHlch(74.1 68.1 103.7)
OKLCHoklch(0.771 0.154 109.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bcbc2f on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#bcbc2f on black: 10.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green73.7%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow75.0%
Key (black)26.3%

Color previews

#bcbc2f text on a black background

contrast 10.37:1

Card sample

#bcbc2f text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bcbc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bcbc2f in the Color Lab