Skip to content

#baba8c

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

RGB
186, 186, 140
HSL
60°, 25%, 64%
CMYK
0, 0, 25, 27
Luminance
0.4745

Every format

HEX#baba8c
RGBrgb(186, 186, 140)
HSLhsl(60, 25%, 64%)
CMYKcmyk(0%, 0%, 25%, 27%)
LABlab(74.5 -7.5 23.4)
LCHlch(74.5 24.6 107.8)
OKLCHoklch(0.777 0.062 107.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baba8c on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#baba8c on black: 10.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green72.9%
Blue54.9%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow24.7%
Key (black)27.1%

Color previews

#baba8c text on a black background

contrast 10.49:1

Card sample

#baba8c text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 186, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 186, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baba8c;
background: linear-gradient(135deg, #baba8c, #9BBA8C);

Monochromatic scale

Palettes built from #baba8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baba8c in the Color Lab