#acac13
a dark, electric yellow · cool · closest name: olive
RGB
172, 172, 19
HSL
60°, 80%, 38%
CMYK
0, 0, 89, 33
Luminance
0.3832
Every format
| HEX | #acac13 |
| RGB | rgb(172, 172, 19) |
| HSL | hsl(60, 80%, 38%) |
| CMYK | cmyk(0%, 0%, 89%, 33%) |
| LAB | lab(68.3 -15.8 67.8) |
| LCH | lch(68.3 69.6 103.1) |
| OKLCH | oklch(0.721 0.153 109.7) |
Copy-ready code
/* CSS */
color: #acac13;
background-color: #acac13;
/* Tailwind (arbitrary) */
class="text-[#acac13] bg-[#acac13]"
/* SCSS */
$brand: #acac13;
/* SwiftUI */
Color(red: 0.675, green: 0.675, blue: 0.075)
/* Android */
Color.parseColor("#acac13")Accessibility — WCAG contrast
Aa
#acac13 on white: 2.42:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#acac13 on black: 8.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green67.5%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow89.0%
Key (black)32.5%
Color previews
#acac13 text on a black background
contrast 8.66:1
Card sample
#acac13 text on a white background
contrast 2.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #acac13;
Background color
Panel with #acac13 background
background-color: #acac13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #acac13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 172, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 172, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acac13; background: linear-gradient(135deg, #acac13, #46AC13);