#b4992f
a dark, vivid yellow · cool · closest name: olive
RGB
180, 153, 47
HSL
48°, 59%, 45%
CMYK
0, 15, 74, 29
Luminance
0.3269
Every format
| HEX | #b4992f |
| RGB | rgb(180, 153, 47) |
| HSL | hsl(48, 59%, 45%) |
| CMYK | cmyk(0%, 15%, 74%, 29%) |
| LAB | lab(63.9 -1.3 56.2) |
| LCH | lch(63.9 56.2 91.3) |
| OKLCH | oklch(0.689 0.125 94.2) |
Copy-ready code
/* CSS */
color: #b4992f;
background-color: #b4992f;
/* Tailwind (arbitrary) */
class="text-[#b4992f] bg-[#b4992f]"
/* SCSS */
$brand: #b4992f;
/* SwiftUI */
Color(red: 0.706, green: 0.600, blue: 0.184)
/* Android */
Color.parseColor("#b4992f")Accessibility — WCAG contrast
Aa
#b4992f on white: 2.79:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b4992f on black: 7.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green60.0%
Blue18.4%
CMYK percentages
Cyan0.0%
Magenta15.0%
Yellow73.9%
Key (black)29.4%
Color previews
#b4992f text on a black background
contrast 7.54:1
Card sample
#b4992f text on a white background
contrast 2.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b4992f;
Background color
Panel with #b4992f background
background-color: #b4992f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b4992f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 153, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 153, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4992f; background: linear-gradient(135deg, #b4992f, #76B42F);