Skip to content

#b9c080

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

RGB
185, 192, 128
HSL
67°, 34%, 63%
CMYK
4, 0, 33, 25
Luminance
0.4957

Every format

HEX#b9c080
RGBrgb(185, 192, 128)
HSLhsl(67, 34%, 63%)
CMYKcmyk(4%, 0%, 33%, 25%)
LABlab(75.8 -12.6 31.5)
LCHlch(75.8 33.9 111.8)
OKLCHoklch(0.787 0.085 113.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b9c080 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#b9c080 on black: 10.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green75.3%
Blue50.2%

CMYK percentages

Cyan3.6%
Magenta0.0%
Yellow33.3%
Key (black)24.7%

Color previews

#b9c080 text on a black background

contrast 10.91:1

Card sample

#b9c080 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(185, 192, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(185, 192, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b9c080;
background: linear-gradient(135deg, #b9c080, #8EC080);

Monochromatic scale

Palettes built from #b9c080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b9c080 in the Color Lab