#acac00
a dark, electric yellow · cool · closest name: olive
RGB
172, 172, 0
HSL
60°, 100%, 34%
CMYK
0, 0, 100, 33
Luminance
0.3828
Every format
| HEX | #acac00 |
| RGB | rgb(172, 172, 0) |
| HSL | hsl(60, 100%, 34%) |
| CMYK | cmyk(0%, 0%, 100%, 33%) |
| LAB | lab(68.2 -16.1 70.3) |
| LCH | lch(68.2 72.1 102.9) |
| OKLCH | oklch(0.721 0.157 109.8) |
Copy-ready code
/* CSS */
color: #acac00;
background-color: #acac00;
/* Tailwind (arbitrary) */
class="text-[#acac00] bg-[#acac00]"
/* SCSS */
$brand: #acac00;
/* SwiftUI */
Color(red: 0.675, green: 0.675, blue: 0.000)
/* Android */
Color.parseColor("#acac00")Accessibility — WCAG contrast
Aa
#acac00 on white: 2.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#acac00 on black: 8.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green67.5%
Blue0.0%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow100.0%
Key (black)32.5%
Color previews
#acac00 text on a black background
contrast 8.66:1
Card sample
#acac00 text on a white background
contrast 2.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #acac00;
Background color
Panel with #acac00 background
background-color: #acac00;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #acac00;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 172, 0, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 172, 0, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acac00; background: linear-gradient(135deg, #acac00, #39AC00);