Skip to content

#bcab57

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

RGB
188, 171, 87
HSL
50°, 43%, 54%
CMYK
0, 9, 54, 26
Luminance
0.4051

Every format

HEX#bcab57
RGBrgb(188, 171, 87)
HSLhsl(50, 43%, 54%)
CMYKcmyk(0%, 9%, 54%, 26%)
LABlab(69.8 -4.8 45.0)
LCHlch(69.8 45.2 96.1)
OKLCHoklch(0.738 0.107 98.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.7%
Green67.1%
Blue34.1%

CMYK percentages

Cyan0.0%
Magenta9.0%
Yellow53.7%
Key (black)26.3%

Color previews

#bcab57 text on a black background

contrast 9.10:1

Card sample

#bcab57 text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bcab57

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bcab57 in the Color Lab