#a89d21
a dark, vivid yellow · cool · closest name: olive
RGB
168, 157, 33
HSL
55°, 67%, 39%
CMYK
0, 7, 80, 34
Luminance
0.3255
Every format
| HEX | #a89d21 |
| RGB | rgb(168, 157, 33) |
| HSL | hsl(55, 67%, 39%) |
| CMYK | cmyk(0%, 7%, 80%, 34%) |
| LAB | lab(63.8 -9.3 60.5) |
| LCH | lch(63.8 61.3 98.8) |
| OKLCH | oklch(0.685 0.135 104.0) |
Copy-ready code
/* CSS */
color: #a89d21;
background-color: #a89d21;
/* Tailwind (arbitrary) */
class="text-[#a89d21] bg-[#a89d21]"
/* SCSS */
$brand: #a89d21;
/* SwiftUI */
Color(red: 0.659, green: 0.616, blue: 0.129)
/* Android */
Color.parseColor("#a89d21")Accessibility — WCAG contrast
Aa
#a89d21 on white: 2.80:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a89d21 on black: 7.51:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.9%
Green61.6%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta6.5%
Yellow80.4%
Key (black)34.1%
Color previews
#a89d21 text on a black background
contrast 7.51:1
Card sample
#a89d21 text on a white background
contrast 2.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a89d21;
Background color
Panel with #a89d21 background
background-color: #a89d21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a89d21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(168, 157, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 157, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a89d21; background: linear-gradient(135deg, #a89d21, #59A821);