Skip to content

#bcaf2f

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

RGB
188, 175, 47
HSL
55°, 60%, 46%
CMYK
0, 7, 75, 26
Luminance
0.4156

Every format

HEX#bcaf2f
RGBrgb(188, 175, 47)
HSLhsl(55, 60%, 46%)
CMYKcmyk(0%, 7%, 75%, 26%)
LABlab(70.6 -9.4 62.8)
LCHlch(70.6 63.5 98.5)
OKLCHoklch(0.743 0.142 103.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.7%
Green68.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta6.9%
Yellow75.0%
Key (black)26.3%

Color previews

#bcaf2f text on a black background

contrast 9.31:1

Card sample

#bcaf2f text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bcaf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bcaf2f in the Color Lab