Skip to content

#b2af99

a balanced, muted yellow · cool · closest name: silver

RGB
178, 175, 153
HSL
53°, 14%, 65%
CMYK
0, 2, 14, 30
Luminance
0.4242

Every format

HEX#b2af99
RGBrgb(178, 175, 153)
HSLhsl(53, 14%, 65%)
CMYKcmyk(0%, 2%, 14%, 30%)
LABlab(71.2 -2.8 11.7)
LCHlch(71.2 12.0 103.3)
OKLCHoklch(0.750 0.031 100.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2af99 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#b2af99 on black: 9.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green68.6%
Blue60.0%

CMYK percentages

Cyan0.0%
Magenta1.7%
Yellow14.0%
Key (black)30.2%

Color previews

#b2af99 text on a black background

contrast 9.48:1

Card sample

#b2af99 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2af99

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2af99 in the Color Lab