#b1aa21
a dark, vivid yellow · cool · closest name: olive
RGB
177, 170, 33
HSL
57°, 69%, 41%
CMYK
0, 4, 81, 31
Luminance
0.3821
Every format
| HEX | #b1aa21 |
| RGB | rgb(177, 170, 33) |
| HSL | hsl(57, 69%, 41%) |
| CMYK | cmyk(0%, 4%, 81%, 31%) |
| LAB | lab(68.2 -12.2 64.7) |
| LCH | lch(68.2 65.8 100.7) |
| OKLCH | oklch(0.722 0.146 106.4) |
Copy-ready code
/* CSS */
color: #b1aa21;
background-color: #b1aa21;
/* Tailwind (arbitrary) */
class="text-[#b1aa21] bg-[#b1aa21]"
/* SCSS */
$brand: #b1aa21;
/* SwiftUI */
Color(red: 0.694, green: 0.667, blue: 0.129)
/* Android */
Color.parseColor("#b1aa21")Accessibility — WCAG contrast
Aa
#b1aa21 on white: 2.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b1aa21 on black: 8.64:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.4%
Green66.7%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta4.0%
Yellow81.4%
Key (black)30.6%
Color previews
#b1aa21 text on a black background
contrast 8.64:1
Card sample
#b1aa21 text on a white background
contrast 2.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b1aa21;
Background color
Panel with #b1aa21 background
background-color: #b1aa21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b1aa21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(177, 170, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 170, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b1aa21; background: linear-gradient(135deg, #b1aa21, #58B121);