#acac21
a dark, vivid yellow · cool · closest name: olive
RGB
172, 172, 33
HSL
60°, 68%, 40%
CMYK
0, 0, 81, 33
Luminance
0.3839
Every format
| HEX | #acac21 |
| RGB | rgb(172, 172, 33) |
| HSL | hsl(60, 68%, 40%) |
| CMYK | cmyk(0%, 0%, 81%, 33%) |
| LAB | lab(68.3 -15.4 64.6) |
| LCH | lch(68.3 66.4 103.4) |
| OKLCH | oklch(0.722 0.148 109.6) |
Copy-ready code
/* CSS */
color: #acac21;
background-color: #acac21;
/* Tailwind (arbitrary) */
class="text-[#acac21] bg-[#acac21]"
/* SCSS */
$brand: #acac21;
/* SwiftUI */
Color(red: 0.675, green: 0.675, blue: 0.129)
/* Android */
Color.parseColor("#acac21")Accessibility — WCAG contrast
Aa
#acac21 on white: 2.42:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#acac21 on black: 8.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green67.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow80.8%
Key (black)32.5%
Color previews
#acac21 text on a black background
contrast 8.68:1
Card sample
#acac21 text on a white background
contrast 2.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #acac21;
Background color
Panel with #acac21 background
background-color: #acac21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #acac21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 172, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 172, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acac21; background: linear-gradient(135deg, #acac21, #4FAC21);