#b39021
a dark, vivid yellow · cool · closest name: olive
RGB
179, 144, 33
HSL
46°, 69%, 42%
CMYK
0, 20, 82, 30
Luminance
0.2964
Every format
| HEX | #b39021 |
| RGB | rgb(179, 144, 33) |
| HSL | hsl(46, 69%, 42%) |
| CMYK | cmyk(0%, 20%, 82%, 30%) |
| LAB | lab(61.3 2.6 58.8) |
| LCH | lch(61.3 58.9 87.5) |
| OKLCH | oklch(0.668 0.127 89.8) |
Copy-ready code
/* CSS */
color: #b39021;
background-color: #b39021;
/* Tailwind (arbitrary) */
class="text-[#b39021] bg-[#b39021]"
/* SCSS */
$brand: #b39021;
/* SwiftUI */
Color(red: 0.702, green: 0.565, blue: 0.129)
/* Android */
Color.parseColor("#b39021")Accessibility — WCAG contrast
Aa
#b39021 on white: 3.03:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#b39021 on black: 6.93:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.2%
Green56.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta19.6%
Yellow81.6%
Key (black)29.8%
Color previews
#b39021 text on a black background
contrast 6.93:1
Card sample
#b39021 text on a white background
contrast 3.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b39021;
Background color
Panel with #b39021 background
background-color: #b39021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b39021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(179, 144, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 144, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b39021; background: linear-gradient(135deg, #b39021, #75B321);