#acaf2d
a dark, vivid yellow · cool · closest name: olive
RGB
172, 175, 45
HSL
61°, 59%, 43%
CMYK
2, 0, 74, 31
Luminance
0.3962
Every format
| HEX | #acaf2d |
| RGB | rgb(172, 175, 45) |
| HSL | hsl(61, 59%, 43%) |
| CMYK | cmyk(2%, 0%, 74%, 31%) |
| LAB | lab(69.2 -16.5 61.8) |
| LCH | lch(69.2 63.9 104.9) |
| OKLCH | oklch(0.729 0.145 110.9) |
Copy-ready code
/* CSS */
color: #acaf2d;
background-color: #acaf2d;
/* Tailwind (arbitrary) */
class="text-[#acaf2d] bg-[#acaf2d]"
/* SCSS */
$brand: #acaf2d;
/* SwiftUI */
Color(red: 0.675, green: 0.686, blue: 0.176)
/* Android */
Color.parseColor("#acaf2d")Accessibility — WCAG contrast
Aa
#acaf2d on white: 2.35:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#acaf2d on black: 8.92:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green68.6%
Blue17.6%
CMYK percentages
Cyan1.7%
Magenta0.0%
Yellow74.3%
Key (black)31.4%
Color previews
#acaf2d text on a black background
contrast 8.92:1
Card sample
#acaf2d text on a white background
contrast 2.35:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #acaf2d;
Background color
Panel with #acaf2d background
background-color: #acaf2d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #acaf2d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 175, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 175, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acaf2d; background: linear-gradient(135deg, #acaf2d, #55AF2D);