#a6c500
a dark, electric yellow · cool · closest name: yellow
RGB
166, 197, 0
HSL
69°, 100%, 39%
CMYK
16, 0, 100, 23
Luminance
0.4804
Every format
| HEX | #a6c500 |
| RGB | rgb(166, 197, 0) |
| HSL | hsl(69, 100%, 39%) |
| CMYK | cmyk(16%, 0%, 100%, 23%) |
| LAB | lab(74.8 -30.9 75.0) |
| LCH | lch(74.8 81.2 112.4) |
| OKLCH | oklch(0.773 0.184 120.4) |
Copy-ready code
/* CSS */
color: #a6c500;
background-color: #a6c500;
/* Tailwind (arbitrary) */
class="text-[#a6c500] bg-[#a6c500]"
/* SCSS */
$brand: #a6c500;
/* SwiftUI */
Color(red: 0.651, green: 0.773, blue: 0.000)
/* Android */
Color.parseColor("#a6c500")Accessibility — WCAG contrast
Aa
#a6c500 on white: 1.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a6c500 on black: 10.61:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red65.1%
Green77.3%
Blue0.0%
CMYK percentages
Cyan15.7%
Magenta0.0%
Yellow100.0%
Key (black)22.7%
Color previews
#a6c500 text on a black background
contrast 10.61:1
Card sample
#a6c500 text on a white background
contrast 1.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a6c500;
Background color
Panel with #a6c500 background
background-color: #a6c500;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a6c500;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(166, 197, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 197, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a6c500; background: linear-gradient(135deg, #a6c500, #23C500);