#b89a21
a dark, vivid yellow · cool · closest name: olive
RGB
184, 154, 33
HSL
48°, 70%, 43%
CMYK
0, 16, 82, 28
Luminance
0.3341
Every format
| HEX | #b89a21 |
| RGB | rgb(184, 154, 33) |
| HSL | hsl(48, 70%, 43%) |
| CMYK | cmyk(0%, 16%, 82%, 28%) |
| LAB | lab(64.5 -0.6 61.7) |
| LCH | lch(64.5 61.7 90.5) |
| OKLCH | oklch(0.694 0.133 93.8) |
Copy-ready code
/* CSS */
color: #b89a21;
background-color: #b89a21;
/* Tailwind (arbitrary) */
class="text-[#b89a21] bg-[#b89a21]"
/* SCSS */
$brand: #b89a21;
/* SwiftUI */
Color(red: 0.722, green: 0.604, blue: 0.129)
/* Android */
Color.parseColor("#b89a21")Accessibility — WCAG contrast
Aa
#b89a21 on white: 2.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b89a21 on black: 7.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.2%
Green60.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta16.3%
Yellow82.1%
Key (black)27.8%
Color previews
#b89a21 text on a black background
contrast 7.68:1
Card sample
#b89a21 text on a white background
contrast 2.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b89a21;
Background color
Panel with #b89a21 background
background-color: #b89a21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b89a21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(184, 154, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(184, 154, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b89a21; background: linear-gradient(135deg, #b89a21, #71B821);