#a4af39
a balanced, vivid yellow · cool · closest name: olive
RGB
164, 175, 57
HSL
66°, 51%, 46%
CMYK
6, 0, 67, 31
Luminance
0.3885
Every format
| HEX | #a4af39 |
| RGB | rgb(164, 175, 57) |
| HSL | hsl(66, 51%, 46%) |
| CMYK | cmyk(6%, 0%, 67%, 31%) |
| LAB | lab(68.6 -19.3 56.6) |
| LCH | lch(68.6 59.8 108.8) |
| OKLCH | oklch(0.723 0.140 114.5) |
Copy-ready code
/* CSS */
color: #a4af39;
background-color: #a4af39;
/* Tailwind (arbitrary) */
class="text-[#a4af39] bg-[#a4af39]"
/* SCSS */
$brand: #a4af39;
/* SwiftUI */
Color(red: 0.643, green: 0.686, blue: 0.224)
/* Android */
Color.parseColor("#a4af39")Accessibility — WCAG contrast
Aa
#a4af39 on white: 2.39:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a4af39 on black: 8.77:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red64.3%
Green68.6%
Blue22.4%
CMYK percentages
Cyan6.3%
Magenta0.0%
Yellow67.4%
Key (black)31.4%
Color previews
#a4af39 text on a black background
contrast 8.77:1
Card sample
#a4af39 text on a white background
contrast 2.39:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a4af39;
Background color
Panel with #a4af39 background
background-color: #a4af39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a4af39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(164, 175, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 175, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a4af39; background: linear-gradient(135deg, #a4af39, #55AF39);