#a89a21
a dark, vivid yellow · cool · closest name: olive
RGB
168, 154, 33
HSL
54°, 67%, 39%
CMYK
0, 8, 80, 34
Luminance
0.3155
Every format
| HEX | #a89a21 |
| RGB | rgb(168, 154, 33) |
| HSL | hsl(54, 67%, 39%) |
| CMYK | cmyk(0%, 8%, 80%, 34%) |
| LAB | lab(63.0 -7.8 59.8) |
| LCH | lch(63.0 60.3 97.4) |
| OKLCH | oklch(0.678 0.133 102.3) |
Copy-ready code
/* CSS */
color: #a89a21;
background-color: #a89a21;
/* Tailwind (arbitrary) */
class="text-[#a89a21] bg-[#a89a21]"
/* SCSS */
$brand: #a89a21;
/* SwiftUI */
Color(red: 0.659, green: 0.604, blue: 0.129)
/* Android */
Color.parseColor("#a89a21")Accessibility — WCAG contrast
Aa
#a89a21 on white: 2.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a89a21 on black: 7.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.9%
Green60.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta8.3%
Yellow80.4%
Key (black)34.1%
Color previews
#a89a21 text on a black background
contrast 7.31:1
Card sample
#a89a21 text on a white background
contrast 2.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a89a21;
Background color
Panel with #a89a21 background
background-color: #a89a21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a89a21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(168, 154, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 154, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a89a21; background: linear-gradient(135deg, #a89a21, #5CA821);