#a29821
a dark, vivid yellow · cool · closest name: olive
RGB
162, 152, 33
HSL
55°, 66%, 38%
CMYK
0, 6, 80, 37
Luminance
0.3025
Every format
| HEX | #a29821 |
| RGB | rgb(162, 152, 33) |
| HSL | hsl(55, 66%, 38%) |
| CMYK | cmyk(0%, 6%, 80%, 37%) |
| LAB | lab(61.9 -9.4 58.6) |
| LCH | lch(61.9 59.4 99.1) |
| OKLCH | oklch(0.668 0.132 104.3) |
Copy-ready code
/* CSS */
color: #a29821;
background-color: #a29821;
/* Tailwind (arbitrary) */
class="text-[#a29821] bg-[#a29821]"
/* SCSS */
$brand: #a29821;
/* SwiftUI */
Color(red: 0.635, green: 0.596, blue: 0.129)
/* Android */
Color.parseColor("#a29821")Accessibility — WCAG contrast
Aa
#a29821 on white: 2.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a29821 on black: 7.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green59.6%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta6.2%
Yellow79.6%
Key (black)36.5%
Color previews
#a29821 text on a black background
contrast 7.05:1
Card sample
#a29821 text on a white background
contrast 2.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a29821;
Background color
Panel with #a29821 background
background-color: #a29821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a29821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 152, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 152, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a29821; background: linear-gradient(135deg, #a29821, #56A221);