#abac39
a dark, vivid yellow · cool · closest name: olive
RGB
171, 172, 57
HSL
61°, 50%, 45%
CMYK
1, 0, 67, 33
Luminance
0.3846
Every format
| HEX | #abac39 |
| RGB | rgb(171, 172, 57) |
| HSL | hsl(61, 50%, 45%) |
| CMYK | cmyk(1%, 0%, 67%, 33%) |
| LAB | lab(68.4 -14.7 56.5) |
| LCH | lch(68.4 58.3 104.6) |
| OKLCH | oklch(0.722 0.135 109.8) |
Copy-ready code
/* CSS */
color: #abac39;
background-color: #abac39;
/* Tailwind (arbitrary) */
class="text-[#abac39] bg-[#abac39]"
/* SCSS */
$brand: #abac39;
/* SwiftUI */
Color(red: 0.671, green: 0.675, blue: 0.224)
/* Android */
Color.parseColor("#abac39")Accessibility — WCAG contrast
Aa
#abac39 on white: 2.42:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#abac39 on black: 8.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green67.5%
Blue22.4%
CMYK percentages
Cyan0.6%
Magenta0.0%
Yellow66.9%
Key (black)32.5%
Color previews
#abac39 text on a black background
contrast 8.69:1
Card sample
#abac39 text on a white background
contrast 2.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #abac39;
Background color
Panel with #abac39 background
background-color: #abac39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #abac39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 172, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 172, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abac39; background: linear-gradient(135deg, #abac39, #5EAC39);