Skip to content

#bab656

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

RGB
186, 182, 86
HSL
58°, 42%, 53%
CMYK
0, 2, 54, 27
Luminance
0.4457

Every format

HEX#bab656
RGBrgb(186, 182, 86)
HSLhsl(58, 42%, 53%)
CMYKcmyk(0%, 2%, 54%, 27%)
LABlab(72.6 -11.5 48.6)
LCHlch(72.6 50.0 103.3)
OKLCHoklch(0.760 0.119 106.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab656 on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#bab656 on black: 9.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green71.4%
Blue33.7%

CMYK percentages

Cyan0.0%
Magenta2.2%
Yellow53.8%
Key (black)27.1%

Color previews

#bab656 text on a black background

contrast 9.91:1

Card sample

#bab656 text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 182, 86, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 182, 86, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bab656;
background: linear-gradient(135deg, #bab656, #7BBA56);

Monochromatic scale

Palettes built from #bab656

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab656 in the Color Lab