#acab49
a balanced, soft yellow · cool · closest name: olive
RGB
172, 171, 73
HSL
59°, 40%, 48%
CMYK
0, 1, 58, 33
Luminance
0.3838
Every format
| HEX | #acab49 |
| RGB | rgb(172, 171, 73) |
| HSL | hsl(59, 40%, 48%) |
| CMYK | cmyk(0%, 1%, 58%, 33%) |
| LAB | lab(68.3 -12.7 49.5) |
| LCH | lch(68.3 51.1 104.4) |
| OKLCH | oklch(0.722 0.121 108.5) |
Copy-ready code
/* CSS */
color: #acab49;
background-color: #acab49;
/* Tailwind (arbitrary) */
class="text-[#acab49] bg-[#acab49]"
/* SCSS */
$brand: #acab49;
/* SwiftUI */
Color(red: 0.675, green: 0.671, blue: 0.286)
/* Android */
Color.parseColor("#acab49")Accessibility — WCAG contrast
Aa
#acab49 on white: 2.42:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#acab49 on black: 8.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green67.1%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta0.6%
Yellow57.6%
Key (black)32.5%
Color previews
#acab49 text on a black background
contrast 8.68:1
Card sample
#acab49 text on a white background
contrast 2.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #acab49;
Background color
Panel with #acab49 background
background-color: #acab49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #acab49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 171, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 171, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acab49; background: linear-gradient(135deg, #acab49, #6BAC49);