Skip to content

#bcaf2c

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

RGB
188, 175, 44
HSL
55°, 62%, 46%
CMYK
0, 7, 77, 26
Luminance
0.4153

Every format

HEX#bcaf2c
RGBrgb(188, 175, 44)
HSLhsl(55, 62%, 46%)
CMYKcmyk(0%, 7%, 77%, 26%)
LABlab(70.5 -9.5 63.8)
LCHlch(70.5 64.5 98.5)
OKLCHoklch(0.743 0.143 103.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bcaf2c on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#bcaf2c on black: 9.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green68.6%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta6.9%
Yellow76.6%
Key (black)26.3%

Color previews

#bcaf2c text on a black background

contrast 9.31:1

Card sample

#bcaf2c text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(188, 175, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 175, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bcaf2c;
background: linear-gradient(135deg, #bcaf2c, #69BC2C);

Monochromatic scale

Palettes built from #bcaf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bcaf2c in the Color Lab