Skip to content

#bcab21

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

RGB
188, 171, 33
HSL
53°, 70%, 43%
CMYK
0, 9, 82, 26
Luminance
0.3993

Every format

HEX#bcab21
RGBrgb(188, 171, 33)
HSLhsl(53, 70%, 43%)
CMYKcmyk(0%, 9%, 82%, 26%)
LABlab(69.4 -7.8 66.1)
LCHlch(69.4 66.6 96.8)
OKLCHoklch(0.734 0.145 101.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bcab21 on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#bcab21 on black: 8.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green67.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta9.0%
Yellow82.4%
Key (black)26.3%

Color previews

#bcab21 text on a black background

contrast 8.99:1

Card sample

#bcab21 text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bcab21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bcab21 in the Color Lab