Skip to content

#bcac2f

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

RGB
188, 172, 47
HSL
53°, 60%, 46%
CMYK
0, 9, 75, 26
Luminance
0.4040

Every format

HEX#bcac2f
RGBrgb(188, 172, 47)
HSLhsl(53, 60%, 46%)
CMYKcmyk(0%, 9%, 75%, 26%)
LABlab(69.8 -7.8 62.1)
LCHlch(69.8 62.6 97.2)
OKLCHoklch(0.737 0.139 101.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.7%
Green67.5%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow75.0%
Key (black)26.3%

Color previews

#bcac2f text on a black background

contrast 9.08:1

Card sample

#bcac2f text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bcac2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bcac2f in the Color Lab