#abba49
a balanced, vivid yellow · cool · closest name: olivedrab
RGB
171, 186, 73
HSL
68°, 45%, 51%
CMYK
8, 0, 61, 27
Luminance
0.4426
Every format
| HEX | #abba49 |
| RGB | rgb(171, 186, 73) |
| HSL | hsl(68, 45%, 51%) |
| CMYK | cmyk(8%, 0%, 61%, 27%) |
| LAB | lab(72.4 -20.8 54.0) |
| LCH | lch(72.4 57.9 111.0) |
| OKLCH | oklch(0.755 0.138 116.2) |
Copy-ready code
/* CSS */
color: #abba49;
background-color: #abba49;
/* Tailwind (arbitrary) */
class="text-[#abba49] bg-[#abba49]"
/* SCSS */
$brand: #abba49;
/* SwiftUI */
Color(red: 0.671, green: 0.729, blue: 0.286)
/* Android */
Color.parseColor("#abba49")Accessibility — WCAG contrast
Aa
#abba49 on white: 2.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#abba49 on black: 9.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green72.9%
Blue28.6%
CMYK percentages
Cyan8.1%
Magenta0.0%
Yellow60.8%
Key (black)27.1%
Color previews
#abba49 text on a black background
contrast 9.85:1
Card sample
#abba49 text on a white background
contrast 2.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #abba49;
Background color
Panel with #abba49 background
background-color: #abba49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #abba49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 186, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 186, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abba49; background: linear-gradient(135deg, #abba49, #60BA49);