Skip to content

#bcaf5d

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

RGB
188, 175, 93
HSL
52°, 42%, 55%
CMYK
0, 7, 51, 26
Luminance
0.4214

Every format

HEX#bcaf5d
RGBrgb(188, 175, 93)
HSLhsl(52, 42%, 55%)
CMYKcmyk(0%, 7%, 51%, 26%)
LABlab(71.0 -6.4 43.4)
LCHlch(71.0 43.8 98.4)
OKLCHoklch(0.748 0.105 100.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bcaf5d on white: 2.23:1
AA ✗ fail · AA-large · AAA
Aa
#bcaf5d on black: 9.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green68.6%
Blue36.5%

CMYK percentages

Cyan0.0%
Magenta6.9%
Yellow50.5%
Key (black)26.3%

Color previews

#bcaf5d text on a black background

contrast 9.43:1

Card sample

#bcaf5d text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bcaf5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bcaf5d in the Color Lab