Skip to content

#bcab56

a balanced, soft yellow · cool · closest name: khaki

RGB
188, 171, 86
HSL
50°, 43%, 54%
CMYK
0, 9, 54, 26
Luminance
0.4049

Every format

HEX#bcab56
RGBrgb(188, 171, 86)
HSLhsl(50, 43%, 54%)
CMYKcmyk(0%, 9%, 54%, 26%)
LABlab(69.8 -4.9 45.4)
LCHlch(69.8 45.7 96.1)
OKLCHoklch(0.738 0.108 98.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bcab56 on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#bcab56 on black: 9.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green67.1%
Blue33.7%

CMYK percentages

Cyan0.0%
Magenta9.0%
Yellow54.3%
Key (black)26.3%

Color previews

#bcab56 text on a black background

contrast 9.10:1

Card sample

#bcab56 text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bcab56

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bcab56 in the Color Lab