#bfaa40
a balanced, vivid yellow · cool · closest name: olive
RGB
191, 170, 64
HSL
50°, 50%, 50%
CMYK
0, 11, 67, 25
Luminance
0.4020
Every format
| HEX | #bfaa40 |
| RGB | rgb(191, 170, 64) |
| HSL | hsl(50, 50%, 50%) |
| CMYK | cmyk(0%, 11%, 67%, 25%) |
| LAB | lab(69.6 -4.6 55.4) |
| LCH | lch(69.6 55.6 94.8) |
| OKLCH | oklch(0.737 0.126 98.0) |
Copy-ready code
/* CSS */
color: #bfaa40;
background-color: #bfaa40;
/* Tailwind (arbitrary) */
class="text-[#bfaa40] bg-[#bfaa40]"
/* SCSS */
$brand: #bfaa40;
/* SwiftUI */
Color(red: 0.749, green: 0.667, blue: 0.251)
/* Android */
Color.parseColor("#bfaa40")Accessibility — WCAG contrast
Aa
#bfaa40 on white: 2.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bfaa40 on black: 9.04:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.9%
Green66.7%
Blue25.1%
CMYK percentages
Cyan0.0%
Magenta11.0%
Yellow66.5%
Key (black)25.1%
Color previews
#bfaa40 text on a black background
contrast 9.04:1
Card sample
#bfaa40 text on a white background
contrast 2.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bfaa40;
Background color
Panel with #bfaa40 background
background-color: #bfaa40;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bfaa40;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(191, 170, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(191, 170, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bfaa40; background: linear-gradient(135deg, #bfaa40, #7FBF40);