#acb821
a dark, vivid yellow · cool · closest name: olive
RGB
172, 184, 33
HSL
65°, 70%, 43%
CMYK
7, 0, 82, 28
Luminance
0.4316
Every format
| HEX | #acb821 |
| RGB | rgb(172, 184, 33) |
| HSL | hsl(65, 70%, 43%) |
| CMYK | cmyk(7%, 0%, 82%, 28%) |
| LAB | lab(71.7 -21.4 67.5) |
| LCH | lch(71.7 70.8 107.6) |
| OKLCH | oklch(0.748 0.161 114.5) |
Copy-ready code
/* CSS */
color: #acb821;
background-color: #acb821;
/* Tailwind (arbitrary) */
class="text-[#acb821] bg-[#acb821]"
/* SCSS */
$brand: #acb821;
/* SwiftUI */
Color(red: 0.675, green: 0.722, blue: 0.129)
/* Android */
Color.parseColor("#acb821")Accessibility — WCAG contrast
Aa
#acb821 on white: 2.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#acb821 on black: 9.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green72.2%
Blue12.9%
CMYK percentages
Cyan6.5%
Magenta0.0%
Yellow82.1%
Key (black)27.8%
Color previews
#acb821 text on a black background
contrast 9.63:1
Card sample
#acb821 text on a white background
contrast 2.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #acb821;
Background color
Panel with #acb821 background
background-color: #acb821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #acb821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 184, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 184, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acb821; background: linear-gradient(135deg, #acb821, #47B821);