Skip to content

#b6b261

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

RGB
182, 178, 97
HSL
57°, 37%, 55%
CMYK
0, 2, 47, 29
Luminance
0.4265

Every format

HEX#b6b261
RGBrgb(182, 178, 97)
HSLhsl(57, 37%, 55%)
CMYKcmyk(0%, 2%, 47%, 29%)
LABlab(71.3 -10.1 41.7)
LCHlch(71.3 42.9 103.6)
OKLCHoklch(0.749 0.104 106.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red71.4%
Green69.8%
Blue38.0%

CMYK percentages

Cyan0.0%
Magenta2.2%
Yellow46.7%
Key (black)28.6%

Color previews

#b6b261 text on a black background

contrast 9.53:1

Card sample

#b6b261 text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(182, 178, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(182, 178, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b6b261;
background: linear-gradient(135deg, #b6b261, #81B661);

Monochromatic scale

Palettes built from #b6b261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b6b261 in the Color Lab