Skip to content

#bcba21

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

RGB
188, 186, 33
HSL
59°, 70%, 43%
CMYK
0, 1, 82, 26
Luminance
0.4592

Every format

HEX#bcba21
RGBrgb(188, 186, 33)
HSLhsl(59, 70%, 43%)
CMYKcmyk(0%, 1%, 82%, 26%)
LABlab(73.5 -15.6 69.6)
LCHlch(73.5 71.3 102.6)
OKLCHoklch(0.766 0.158 108.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bcba21 on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#bcba21 on black: 10.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green72.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta1.1%
Yellow82.4%
Key (black)26.3%

Color previews

#bcba21 text on a black background

contrast 10.18:1

Card sample

#bcba21 text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(188, 186, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 186, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bcba21;
background: linear-gradient(135deg, #bcba21, #57BC21);

Monochromatic scale

Palettes built from #bcba21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bcba21 in the Color Lab