#acac3b
a balanced, vivid yellow · cool · closest name: olive
RGB
172, 172, 59
HSL
60°, 49%, 45%
CMYK
0, 0, 66, 33
Luminance
0.3859
Every format
| HEX | #acac3b |
| RGB | rgb(172, 172, 59) |
| HSL | hsl(60, 49%, 45%) |
| CMYK | cmyk(0%, 0%, 66%, 33%) |
| LAB | lab(68.5 -14.2 55.8) |
| LCH | lch(68.5 57.5 104.3) |
| OKLCH | oklch(0.723 0.133 109.3) |
Copy-ready code
/* CSS */
color: #acac3b;
background-color: #acac3b;
/* Tailwind (arbitrary) */
class="text-[#acac3b] bg-[#acac3b]"
/* SCSS */
$brand: #acac3b;
/* SwiftUI */
Color(red: 0.675, green: 0.675, blue: 0.231)
/* Android */
Color.parseColor("#acac3b")Accessibility — WCAG contrast
Aa
#acac3b on white: 2.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#acac3b on black: 8.72:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green67.5%
Blue23.1%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow65.7%
Key (black)32.5%
Color previews
#acac3b text on a black background
contrast 8.72:1
Card sample
#acac3b text on a white background
contrast 2.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #acac3b;
Background color
Panel with #acac3b background
background-color: #acac3b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #acac3b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 172, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 172, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acac3b; background: linear-gradient(135deg, #acac3b, #61AC3B);