#b3ad13
a dark, electric yellow · cool · closest name: olive
RGB
179, 173, 19
HSL
58°, 81%, 39%
CMYK
0, 3, 89, 30
Luminance
0.3952
Every format
| HEX | #b3ad13 |
| RGB | rgb(179, 173, 19) |
| HSL | hsl(58, 81%, 39%) |
| CMYK | cmyk(0%, 3%, 89%, 30%) |
| LAB | lab(69.1 -13.2 68.7) |
| LCH | lch(69.1 70.0 100.9) |
| OKLCH | oklch(0.729 0.153 107.1) |
Copy-ready code
/* CSS */
color: #b3ad13;
background-color: #b3ad13;
/* Tailwind (arbitrary) */
class="text-[#b3ad13] bg-[#b3ad13]"
/* SCSS */
$brand: #b3ad13;
/* SwiftUI */
Color(red: 0.702, green: 0.678, blue: 0.075)
/* Android */
Color.parseColor("#b3ad13")Accessibility — WCAG contrast
Aa
#b3ad13 on white: 2.36:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b3ad13 on black: 8.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.2%
Green67.8%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta3.4%
Yellow89.4%
Key (black)29.8%
Color previews
#b3ad13 text on a black background
contrast 8.90:1
Card sample
#b3ad13 text on a white background
contrast 2.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b3ad13;
Background color
Panel with #b3ad13 background
background-color: #b3ad13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b3ad13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(179, 173, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 173, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b3ad13; background: linear-gradient(135deg, #b3ad13, #4EB313);