#aac40c
a dark, electric yellow · cool · closest name: yellow
RGB
170, 196, 12
HSL
69°, 89%, 41%
CMYK
13, 0, 94, 23
Luminance
0.4805
Every format
| HEX | #aac40c |
| RGB | rgb(170, 196, 12) |
| HSL | hsl(69, 89%, 41%) |
| CMYK | cmyk(13%, 0%, 94%, 23%) |
| LAB | lab(74.9 -28.6 73.9) |
| LCH | lch(74.9 79.3 111.1) |
| OKLCH | oklch(0.774 0.180 118.9) |
Copy-ready code
/* CSS */
color: #aac40c;
background-color: #aac40c;
/* Tailwind (arbitrary) */
class="text-[#aac40c] bg-[#aac40c]"
/* SCSS */
$brand: #aac40c;
/* SwiftUI */
Color(red: 0.667, green: 0.769, blue: 0.047)
/* Android */
Color.parseColor("#aac40c")Accessibility — WCAG contrast
Aa
#aac40c on white: 1.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aac40c on black: 10.61:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green76.9%
Blue4.7%
CMYK percentages
Cyan13.3%
Magenta0.0%
Yellow93.9%
Key (black)23.1%
Color previews
#aac40c text on a black background
contrast 10.61:1
Card sample
#aac40c text on a white background
contrast 1.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aac40c;
Background color
Panel with #aac40c background
background-color: #aac40c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aac40c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 196, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 196, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aac40c; background: linear-gradient(135deg, #aac40c, #2FC40C);