#aabc21
a dark, vivid yellow · cool · closest name: olivedrab
RGB
170, 188, 33
HSL
67°, 70%, 43%
CMYK
10, 0, 82, 26
Luminance
0.4462
Every format
| HEX | #aabc21 |
| RGB | rgb(170, 188, 33) |
| HSL | hsl(67, 70%, 43%) |
| CMYK | cmyk(10%, 0%, 82%, 26%) |
| LAB | lab(72.6 -24.3 68.3) |
| LCH | lch(72.6 72.5 109.5) |
| OKLCH | oklch(0.756 0.165 116.6) |
Copy-ready code
/* CSS */
color: #aabc21;
background-color: #aabc21;
/* Tailwind (arbitrary) */
class="text-[#aabc21] bg-[#aabc21]"
/* SCSS */
$brand: #aabc21;
/* SwiftUI */
Color(red: 0.667, green: 0.737, blue: 0.129)
/* Android */
Color.parseColor("#aabc21")Accessibility — WCAG contrast
Aa
#aabc21 on white: 2.12:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aabc21 on black: 9.92:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green73.7%
Blue12.9%
CMYK percentages
Cyan9.6%
Magenta0.0%
Yellow82.4%
Key (black)26.3%
Color previews
#aabc21 text on a black background
contrast 9.92:1
Card sample
#aabc21 text on a white background
contrast 2.12:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aabc21;
Background color
Panel with #aabc21 background
background-color: #aabc21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aabc21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 188, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 188, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aabc21; background: linear-gradient(135deg, #aabc21, #43BC21);