Skip to content

#bcaf4d

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

RGB
188, 175, 77
HSL
53°, 45%, 52%
CMYK
0, 7, 59, 26
Luminance
0.4189

Every format

HEX#bcaf4d
RGBrgb(188, 175, 77)
HSLhsl(53, 45%, 52%)
CMYKcmyk(0%, 7%, 59%, 26%)
LABlab(70.8 -7.7 50.8)
LCHlch(70.8 51.4 98.6)
OKLCHoklch(0.746 0.120 101.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bcaf4d on white: 2.24:1
AA ✗ fail · AA-large · AAA
Aa
#bcaf4d on black: 9.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green68.6%
Blue30.2%

CMYK percentages

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

Color previews

#bcaf4d text on a black background

contrast 9.38:1

Card sample

#bcaf4d text on a white background

contrast 2.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bcaf4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bcaf4d in the Color Lab