#a2ab64
a balanced, soft yellow · cool · closest name: tan
RGB
162, 171, 100
HSL
68°, 30%, 53%
CMYK
5, 0, 42, 33
Luminance
0.3773
Every format
| HEX | #a2ab64 |
| RGB | rgb(162, 171, 100) |
| HSL | hsl(68, 30%, 53%) |
| CMYK | cmyk(5%, 0%, 42%, 33%) |
| LAB | lab(67.8 -14.3 35.4) |
| LCH | lch(67.8 38.2 112.0) |
| OKLCH | oklch(0.718 0.095 114.7) |
Copy-ready code
/* CSS */
color: #a2ab64;
background-color: #a2ab64;
/* Tailwind (arbitrary) */
class="text-[#a2ab64] bg-[#a2ab64]"
/* SCSS */
$brand: #a2ab64;
/* SwiftUI */
Color(red: 0.635, green: 0.671, blue: 0.392)
/* Android */
Color.parseColor("#a2ab64")Accessibility — WCAG contrast
Aa
#a2ab64 on white: 2.46:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a2ab64 on black: 8.55:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green67.1%
Blue39.2%
CMYK percentages
Cyan5.3%
Magenta0.0%
Yellow41.5%
Key (black)32.9%
Color previews
#a2ab64 text on a black background
contrast 8.55:1
Card sample
#a2ab64 text on a white background
contrast 2.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a2ab64;
Background color
Panel with #a2ab64 background
background-color: #a2ab64;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a2ab64;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 171, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 171, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2ab64; background: linear-gradient(135deg, #a2ab64, #73AB64);