#b49a21
a dark, vivid yellow · cool · closest name: olive
RGB
180, 154, 33
HSL
49°, 69%, 42%
CMYK
0, 14, 82, 29
Luminance
0.3292
Every format
| HEX | #b49a21 |
| RGB | rgb(180, 154, 33) |
| HSL | hsl(49, 69%, 42%) |
| CMYK | cmyk(0%, 14%, 82%, 29%) |
| LAB | lab(64.1 -2.4 61.3) |
| LCH | lch(64.1 61.3 92.2) |
| OKLCH | oklch(0.690 0.133 95.9) |
Copy-ready code
/* CSS */
color: #b49a21;
background-color: #b49a21;
/* Tailwind (arbitrary) */
class="text-[#b49a21] bg-[#b49a21]"
/* SCSS */
$brand: #b49a21;
/* SwiftUI */
Color(red: 0.706, green: 0.604, blue: 0.129)
/* Android */
Color.parseColor("#b49a21")Accessibility — WCAG contrast
Aa
#b49a21 on white: 2.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b49a21 on black: 7.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green60.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta14.4%
Yellow81.7%
Key (black)29.4%
Color previews
#b49a21 text on a black background
contrast 7.58:1
Card sample
#b49a21 text on a white background
contrast 2.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b49a21;
Background color
Panel with #b49a21 background
background-color: #b49a21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b49a21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 154, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 154, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b49a21; background: linear-gradient(135deg, #b49a21, #6CB421);