#bac080
a balanced, soft yellow · cool · closest name: tan
RGB
186, 192, 128
HSL
66°, 34%, 63%
CMYK
3, 0, 33, 25
Luminance
0.4970
Every format
| HEX | #bac080 |
| RGB | rgb(186, 192, 128) |
| HSL | hsl(66, 34%, 63%) |
| CMYK | cmyk(3%, 0%, 33%, 25%) |
| LAB | lab(75.9 -12.2 31.6) |
| LCH | lch(75.9 33.9 111.1) |
| OKLCH | oklch(0.788 0.085 112.7) |
Copy-ready code
/* CSS */
color: #bac080;
background-color: #bac080;
/* Tailwind (arbitrary) */
class="text-[#bac080] bg-[#bac080]"
/* SCSS */
$brand: #bac080;
/* SwiftUI */
Color(red: 0.729, green: 0.753, blue: 0.502)
/* Android */
Color.parseColor("#bac080")Accessibility — WCAG contrast
Aa
#bac080 on white: 1.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bac080 on black: 10.94:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green75.3%
Blue50.2%
CMYK percentages
Cyan3.1%
Magenta0.0%
Yellow33.3%
Key (black)24.7%
Color previews
#bac080 text on a black background
contrast 10.94:1
Card sample
#bac080 text on a white background
contrast 1.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bac080;
Background color
Panel with #bac080 background
background-color: #bac080;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bac080;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 192, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 192, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bac080; background: linear-gradient(135deg, #bac080, #8FC080);