#acaf21
a dark, vivid yellow · cool · closest name: olive
RGB
172, 175, 33
HSL
61°, 68%, 41%
CMYK
2, 0, 81, 31
Luminance
0.3954
Every format
| HEX | #acaf21 |
| RGB | rgb(172, 175, 33) |
| HSL | hsl(61, 68%, 41%) |
| CMYK | cmyk(2%, 0%, 81%, 31%) |
| LAB | lab(69.1 -16.9 65.3) |
| LCH | lch(69.1 67.5 104.5) |
| OKLCH | oklch(0.728 0.151 110.9) |
Copy-ready code
/* CSS */
color: #acaf21;
background-color: #acaf21;
/* Tailwind (arbitrary) */
class="text-[#acaf21] bg-[#acaf21]"
/* SCSS */
$brand: #acaf21;
/* SwiftUI */
Color(red: 0.675, green: 0.686, blue: 0.129)
/* Android */
Color.parseColor("#acaf21")Accessibility — WCAG contrast
Aa
#acaf21 on white: 2.36:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#acaf21 on black: 8.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green68.6%
Blue12.9%
CMYK percentages
Cyan1.7%
Magenta0.0%
Yellow81.1%
Key (black)31.4%
Color previews
#acaf21 text on a black background
contrast 8.91:1
Card sample
#acaf21 text on a white background
contrast 2.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #acaf21;
Background color
Panel with #acaf21 background
background-color: #acaf21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #acaf21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 175, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 175, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acaf21; background: linear-gradient(135deg, #acaf21, #4DAF21);