Skip to content

#b8b080

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

RGB
184, 176, 128
HSL
51°, 28%, 61%
CMYK
0, 4, 30, 28
Luminance
0.4280

Every format

HEX#b8b080
RGBrgb(184, 176, 128)
HSLhsl(51, 28%, 61%)
CMYKcmyk(0%, 4%, 30%, 28%)
LABlab(71.4 -4.7 25.7)
LCHlch(71.4 26.1 100.3)
OKLCHoklch(0.752 0.065 99.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b8b080 on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#b8b080 on black: 9.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.2%
Green69.0%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow30.4%
Key (black)27.8%

Color previews

#b8b080 text on a black background

contrast 9.56:1

Card sample

#b8b080 text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(184, 176, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(184, 176, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b8b080;
background: linear-gradient(135deg, #b8b080, #9BB880);

Monochromatic scale

Palettes built from #b8b080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b8b080 in the Color Lab