#abab32
a dark, vivid yellow · cool · closest name: olive
RGB
171, 171, 50
HSL
60°, 55%, 43%
CMYK
0, 0, 71, 33
Luminance
0.3801
Every format
| HEX | #abab32 |
| RGB | rgb(171, 171, 50) |
| HSL | hsl(60, 55%, 43%) |
| CMYK | cmyk(0%, 0%, 71%, 33%) |
| LAB | lab(68.0 -14.6 58.8) |
| LCH | lch(68.0 60.6 103.9) |
| OKLCH | oklch(0.719 0.139 109.4) |
Copy-ready code
/* CSS */
color: #abab32;
background-color: #abab32;
/* Tailwind (arbitrary) */
class="text-[#abab32] bg-[#abab32]"
/* SCSS */
$brand: #abab32;
/* SwiftUI */
Color(red: 0.671, green: 0.671, blue: 0.196)
/* Android */
Color.parseColor("#abab32")Accessibility — WCAG contrast
Aa
#abab32 on white: 2.44:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#abab32 on black: 8.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green67.1%
Blue19.6%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow70.8%
Key (black)32.9%
Color previews
#abab32 text on a black background
contrast 8.60:1
Card sample
#abab32 text on a white background
contrast 2.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #abab32;
Background color
Panel with #abab32 background
background-color: #abab32;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #abab32;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 171, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 171, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abab32; background: linear-gradient(135deg, #abab32, #5AAB32);