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