#b19e21
a dark, vivid yellow · cool · closest name: olive
RGB
177, 158, 33
HSL
52°, 69%, 41%
CMYK
0, 11, 81, 31
Luminance
0.3391
Every format
| HEX | #b19e21 |
| RGB | rgb(177, 158, 33) |
| HSL | hsl(52, 69%, 41%) |
| CMYK | cmyk(0%, 11%, 81%, 31%) |
| LAB | lab(64.9 -5.9 61.8) |
| LCH | lch(64.9 62.1 95.4) |
| OKLCH | oklch(0.695 0.136 99.9) |
Copy-ready code
/* CSS */
color: #b19e21;
background-color: #b19e21;
/* Tailwind (arbitrary) */
class="text-[#b19e21] bg-[#b19e21]"
/* SCSS */
$brand: #b19e21;
/* SwiftUI */
Color(red: 0.694, green: 0.620, blue: 0.129)
/* Android */
Color.parseColor("#b19e21")Accessibility — WCAG contrast
Aa
#b19e21 on white: 2.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b19e21 on black: 7.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.4%
Green62.0%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta10.7%
Yellow81.4%
Key (black)30.6%
Color previews
#b19e21 text on a black background
contrast 7.78:1
Card sample
#b19e21 text on a white background
contrast 2.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b19e21;
Background color
Panel with #b19e21 background
background-color: #b19e21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b19e21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(177, 158, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 158, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b19e21; background: linear-gradient(135deg, #b19e21, #64B121);