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