Skip to content

#bcaf2d

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

RGB
188, 175, 45
HSL
55°, 61%, 46%
CMYK
0, 7, 76, 26
Luminance
0.4154

Every format

HEX#bcaf2d
RGBrgb(188, 175, 45)
HSLhsl(55, 61%, 46%)
CMYKcmyk(0%, 7%, 76%, 26%)
LABlab(70.5 -9.5 63.5)
LCHlch(70.5 64.2 98.5)
OKLCHoklch(0.743 0.143 103.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#bcaf2d text on a black background

contrast 9.31:1

Card sample

#bcaf2d text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bcaf2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bcaf2d in the Color Lab