Skip to content

#bcaf3b

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

RGB
188, 175, 59
HSL
54°, 52%, 48%
CMYK
0, 7, 69, 26
Luminance
0.4167

Every format

HEX#bcaf3b
RGBrgb(188, 175, 59)
HSLhsl(54, 52%, 48%)
CMYKcmyk(0%, 7%, 69%, 26%)
LABlab(70.6 -8.8 58.4)
LCHlch(70.6 59.1 98.6)
OKLCHoklch(0.744 0.134 102.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bcaf3b on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#bcaf3b on black: 9.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green68.6%
Blue23.1%

CMYK percentages

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

Color previews

#bcaf3b text on a black background

contrast 9.33:1

Card sample

#bcaf3b text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bcaf3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bcaf3b in the Color Lab