#baac39
a balanced, vivid yellow · cool · closest name: olive
RGB
186, 172, 57
HSL
54°, 53%, 48%
CMYK
0, 8, 69, 27
Luminance
0.4024
Every format
| HEX | #baac39 |
| RGB | rgb(186, 172, 57) |
| HSL | hsl(54, 53%, 48%) |
| CMYK | cmyk(0%, 8%, 69%, 27%) |
| LAB | lab(69.6 -8.2 58.2) |
| LCH | lch(69.6 58.8 98.1) |
| OKLCH | oklch(0.736 0.133 102.3) |
Copy-ready code
/* CSS */
color: #baac39;
background-color: #baac39;
/* Tailwind (arbitrary) */
class="text-[#baac39] bg-[#baac39]"
/* SCSS */
$brand: #baac39;
/* SwiftUI */
Color(red: 0.729, green: 0.675, blue: 0.224)
/* Android */
Color.parseColor("#baac39")Accessibility — WCAG contrast
Aa
#baac39 on white: 2.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#baac39 on black: 9.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green67.5%
Blue22.4%
CMYK percentages
Cyan0.0%
Magenta7.5%
Yellow69.4%
Key (black)27.1%
Color previews
#baac39 text on a black background
contrast 9.05:1
Card sample
#baac39 text on a white background
contrast 2.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #baac39;
Background color
Panel with #baac39 background
background-color: #baac39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #baac39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 172, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 172, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baac39; background: linear-gradient(135deg, #baac39, #72BA39);