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