#b5af13
a dark, electric yellow · cool · closest name: olive
RGB
181, 175, 19
HSL
58°, 81%, 39%
CMYK
0, 3, 90, 29
Luminance
0.4053
Every format
| HEX | #b5af13 |
| RGB | rgb(181, 175, 19) |
| HSL | hsl(58, 81%, 39%) |
| CMYK | cmyk(0%, 3%, 90%, 29%) |
| LAB | lab(69.8 -13.3 69.4) |
| LCH | lch(69.8 70.6 100.9) |
| OKLCH | oklch(0.736 0.154 107.1) |
Copy-ready code
/* CSS */
color: #b5af13;
background-color: #b5af13;
/* Tailwind (arbitrary) */
class="text-[#b5af13] bg-[#b5af13]"
/* SCSS */
$brand: #b5af13;
/* SwiftUI */
Color(red: 0.710, green: 0.686, blue: 0.075)
/* Android */
Color.parseColor("#b5af13")Accessibility — WCAG contrast
Aa
#b5af13 on white: 2.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b5af13 on black: 9.11:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red71.0%
Green68.6%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta3.3%
Yellow89.5%
Key (black)29.0%
Color previews
#b5af13 text on a black background
contrast 9.11:1
Card sample
#b5af13 text on a white background
contrast 2.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b5af13;
Background color
Panel with #b5af13 background
background-color: #b5af13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b5af13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(181, 175, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(181, 175, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b5af13; background: linear-gradient(135deg, #b5af13, #4FB513);